Package org.apache.synapse
Interface Startup
-
- All Superinterfaces:
ManagedLifecycle,Nameable,SynapseArtifact
- All Known Implementing Classes:
AbstractStartup,StartUpController
public interface Startup extends ManagedLifecycle, Nameable, SynapseArtifact
This startup interface will be instantiated to create startup tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetArtifactContainerName()Get the name of the artifact container from which the task deployedStringgetFileName()Returns the name of the file where this startup is definedQNamegetTagQName()This will return the configuration tag QName of the implemented startupbooleanisEdited()Whether the task edited through the management consolevoidsetArtifactContainerName(String artifactContainerName)Set the name of the artifact container from which the task deployedvoidsetFileName(String fileName)Set the name of the file name where this startup is definedvoidsetIsEdited(boolean isEdited)Set whether the task edited through the management console-
Methods inherited from interface org.apache.synapse.ManagedLifecycle
destroy, init
-
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription
-
-
-
-
Method Detail
-
getTagQName
QName getTagQName()
This will return the configuration tag QName of the implemented startup- Returns:
- QName representing the configuration element for the startup
-
getFileName
String getFileName()
Returns the name of the file where this startup is defined- Returns:
- a file name as a string or null
-
setFileName
void setFileName(String fileName)
Set the name of the file name where this startup is defined- Parameters:
fileName- the name of the file as a string
-
isEdited
boolean isEdited()
Whether the task edited through the management console- Returns:
- isEdited
-
setIsEdited
void setIsEdited(boolean isEdited)
Set whether the task edited through the management console- Parameters:
isEdited-
-
getArtifactContainerName
String getArtifactContainerName()
Get the name of the artifact container from which the task deployed- Returns:
- artifactContainerName
-
setArtifactContainerName
void setArtifactContainerName(String artifactContainerName)
Set the name of the artifact container from which the task deployed- Parameters:
artifactContainerName-
-
-