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 String
getFile()
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).String
getName()
DeployableType
getType()
boolean
isExpanded()
-
-
-
Method Detail
-
getFile
String getFile()
- Returns:
- the file representing the archive to deploy
-
getType
DeployableType getType()
- Returns:
- the deployable's type (war, ear, 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.
-
-