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 String
getArtifactContainerName()
Get the name of the artifact container from which the task deployedString
getFileName()
Returns the name of the file where this startup is definedQName
getTagQName()
This will return the configuration tag QName of the implemented startupboolean
isEdited()
Whether the task edited through the management consolevoid
setArtifactContainerName(String artifactContainerName)
Set the name of the artifact container from which the task deployedvoid
setFileName(String fileName)
Set the name of the file name where this startup is definedvoid
setIsEdited(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
-
-
-