Class AbstractInstallableFile
- java.lang.Object
-
- io.wcm.devops.conga.plugins.aem.maven.model.AbstractInstallableFile
-
- All Implemented Interfaces:
InstallableFile
- Direct Known Subclasses:
BundleFile
,ModelContentPackageFile
public abstract class AbstractInstallableFile extends Object implements InstallableFile
Describes an installable file with a set of run modes and (lazily evaluated) hash code.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractInstallableFile(File file, Collection<String> variants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull File
getFile()
@NotNull com.google.common.hash.HashCode
getHashCode()
@NotNull Set<String>
getVariants()
String
toString()
-
-
-
Constructor Detail
-
AbstractInstallableFile
protected AbstractInstallableFile(File file, Collection<String> variants)
-
-
Method Detail
-
getFile
@NotNull public @NotNull File getFile()
- Specified by:
getFile
in interfaceInstallableFile
- Returns:
- File.
-
getVariants
@NotNull public @NotNull Set<String> getVariants()
- Specified by:
getVariants
in interfaceInstallableFile
- Returns:
- Variants/Run modes for file.
-
getHashCode
@NotNull public @NotNull com.google.common.hash.HashCode getHashCode()
- Specified by:
getHashCode
in interfaceInstallableFile
- Returns:
- Hash code for file.
-
-