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 String
artifactContainerName
Name of the artifact container from which the task deployedprotected String
description
Holds the description of the startupprotected String
fileName
Holds the name of the file where this startup is definedprotected boolean
isEdited
Whether the task edited via the management consoleprotected String
name
Holds the name of a Startup
-
Constructor Summary
Constructors Constructor Description AbstractStartup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArtifactContainerName()
Get the name of the artifact container from which the task deployedString
getDescription()
Gets the description of the startupString
getFileName()
Returns the name of the file where this startup is definedString
getName()
This will return the name of the 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
setDescription(String description)
Sets the description of the startupvoid
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 consolevoid
setName(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:
getFileName
in 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:
setFileName
in interfaceStartup
- Parameters:
fileName
- the name of the file as a string
-
getDescription
public String getDescription()
Gets the description of the startup- Specified by:
getDescription
in interfaceSynapseArtifact
- Returns:
- description of the startup
-
setDescription
public void setDescription(String description)
Sets the description of the startup- Specified by:
setDescription
in 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:
setIsEdited
in interfaceStartup
- Parameters:
isEdited
-
-
getArtifactContainerName
public String getArtifactContainerName()
Get the name of the artifact container from which the task deployed- Specified by:
getArtifactContainerName
in interfaceStartup
- Returns:
- artifactContainerName
-
setArtifactContainerName
public void setArtifactContainerName(String artifactContainerName)
Set the name of the artifact container from which the task deployed- Specified by:
setArtifactContainerName
in interfaceStartup
- Parameters:
artifactContainerName
-
-
-