Package org.apache.synapse.startup
Class AbstractStartup
- java.lang.Object
-
- org.apache.synapse.startup.AbstractStartup
-
- All Implemented Interfaces:
ManagedLifecycle,Nameable,Startup,SynapseArtifact
- Direct Known Subclasses:
StartUpController
public abstract class AbstractStartup extends Object implements Startup
-
-
Field Summary
Fields Modifier and Type Field Description protected StringartifactContainerNameName of the artifact container from which the task deployedprotected StringdescriptionHolds the description of the startupprotected StringfileNameHolds the name of the file where this startup is definedprotected booleanisEditedWhether the task edited via the management consoleprotected StringnameHolds the name of a Startup
-
Constructor Summary
Constructors Constructor Description AbstractStartup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArtifactContainerName()Get the name of the artifact container from which the task deployedStringgetDescription()Gets the description of the startupStringgetFileName()Returns the name of the file where this startup is definedStringgetName()This will return the name of the startupbooleanisEdited()Whether the task edited through the management consolevoidsetArtifactContainerName(String artifactContainerName)Set the name of the artifact container from which the task deployedvoidsetDescription(String description)Sets the description of the startupvoidsetFileName(String fileName)Set the name of the file name where this startup is definedvoidsetIsEdited(boolean isEdited)Set whether the task edited through the management consolevoidsetName(String name)This will set the name of a Startup-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.synapse.ManagedLifecycle
destroy, init
-
Methods inherited from interface org.apache.synapse.Startup
getTagQName
-
-
-
-
Field Detail
-
name
protected String name
Holds the name of a Startup
-
fileName
protected String fileName
Holds the name of the file where this startup is defined
-
description
protected String description
Holds the description of the startup
-
artifactContainerName
protected String artifactContainerName
Name of the artifact container from which the task deployed
-
isEdited
protected boolean isEdited
Whether the task edited via the management console
-
-
Method Detail
-
getName
public String getName()
This will return the name of the startup
-
setName
public void setName(String name)
This will set the name of a Startup
-
getFileName
public String getFileName()
Returns the name of the file where this startup is defined- Specified by:
getFileNamein interfaceStartup- Returns:
- a file name as a string or null
-
setFileName
public void setFileName(String fileName)
Set the name of the file name where this startup is defined- Specified by:
setFileNamein interfaceStartup- Parameters:
fileName- the name of the file as a string
-
getDescription
public String getDescription()
Gets the description of the startup- Specified by:
getDescriptionin interfaceSynapseArtifact- Returns:
- description of the startup
-
setDescription
public void setDescription(String description)
Sets the description of the startup- Specified by:
setDescriptionin interfaceSynapseArtifact- Parameters:
description- tobe set to the artifact
-
isEdited
public boolean isEdited()
Whether the task edited through the management console
-
setIsEdited
public void setIsEdited(boolean isEdited)
Set whether the task edited through the management console- Specified by:
setIsEditedin interfaceStartup- Parameters:
isEdited-
-
getArtifactContainerName
public String getArtifactContainerName()
Get the name of the artifact container from which the task deployed- Specified by:
getArtifactContainerNamein interfaceStartup- Returns:
- artifactContainerName
-
setArtifactContainerName
public void setArtifactContainerName(String artifactContainerName)
Set the name of the artifact container from which the task deployed- Specified by:
setArtifactContainerNamein interfaceStartup- Parameters:
artifactContainerName-
-
-