Interface Resource

All Known Subinterfaces:
AppJarFile, ClassFile, ClasspathElement, ClassTree, Cleanliness, CompilationResources<T>, EclipseConfiguration, FileResource, FileTree<T>, IOResource, JarFile, JavadocDirectory, JavadocJarFile, JavaSourceFile, LibraryJarFile, MvnPublication, MvnRepoDependency, MvnRepoJarFile, MvnRepoLibraryJarFile, MvnRepoResource, PomFile, ResourceFile, Resources<T>, RuntimeResources<T>, RuntimeResources2<T>, SourcesJarFile, VscodeConfiguration
All Known Implementing Classes:
DefaultClassTree, DefaultEclipseConfiguration, DefaultFileResource, DefaultFileTree, DefaultJarFile, DefaultLibraryJarFile, DefaultMvnRepoDependency, DefaultMvnRepoResource, DefaultResources, JarFileEntry, JavaResourceTree, ResourceObject, ServicesEntryResource

public interface Resource
Represents a resource handled by the builder.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Instant
    The instant at which this resource was created or last modified.
    default String
    Returns a localized string representation of the instant at which this resource was created or last modified.
    Returns the type of this resource.
  • Method Details

    • asOf

      default Instant asOf()
      The instant at which this resource was created or last modified.
      Returns:
      the instant
    • type

      Returns the type of this resource.
      Returns:
      the type
    • asOfLocalized

      default String asOfLocalized()
      Returns a localized string representation of the instant at which this resource was created or last modified.
      Returns:
      the string