Interface Deployable
-
- All Superinterfaces:
Loggable
- All Known Subinterfaces:
GeronimoDeployable
- All Known Implementing Classes:
AbstractDeployable,AbstractDeployablewithSettableName,AOP,Bundle,EAR,EJB,File,GeronimoEAR,GeronimoEJB,GeronimoWAR,HAR,JBossWAR,RAR,SAR,TomcatWAR,WAR
public interface Deployable extends Loggable
A deployable is a file archive to be deployed in a container (eg WAR, EAR, etc).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFile()StringgetFilename()Deployable file name, taking into account thegetName(), including any deployable-specific aspects of it, and the escaping in order to avoid unwanted file system actions (for example, ensuring the file name contains no slashes).StringgetName()DeployableTypegetType()DeployableVersiongetVersion()booleanisExpanded()
-
-
-
Method Detail
-
getFile
String getFile()
- Returns:
- the file representing the archive to deploy
-
getType
DeployableType getType()
- Returns:
- the deployable's type (war, ear, etc)
-
getVersion
DeployableVersion getVersion()
- Returns:
- the deployable's version (j2ee, javaee, jakartaee, etc)
-
isExpanded
boolean isExpanded()
- Returns:
- If the deployable is a directory or not
-
getName
String getName()
- Returns:
- The name of this deployable. See CARGO-1352.
-
getFilename
String getFilename()
Deployable file name, taking into account thegetName(), including any deployable-specific aspects of it, and the escaping in order to avoid unwanted file system actions (for example, ensuring the file name contains no slashes).- Returns:
- The file or directory name for this deployable.
-
-