|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.ant.jonasbase.Tasks
org.ow2.jonas.ant.cluster.ClusterTasks
public abstract class ClusterTasks
Defines a common cluster task
| Field Summary | |
|---|---|
protected static String |
ARCH_BOTH_WEB_EJB
Architecture of the JOnAS's instances : contain both Web level and Ejb level. |
protected static String |
ARCH_SEPARATED_WEB_EJB
Architecture of the JOnAS's instances : separate Web level and Ejb level. |
| Constructor Summary | |
|---|---|
ClusterTasks()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addClusterTask(ClusterTasks ct)
Add a task to the list of defined tasks. |
abstract void |
generatesTasks()
Abstract generatesTasks(). |
String |
getArch()
Get architecture. |
List<ClusterTasks> |
getClusterTasks()
|
static String |
getDestDir(String destDirPrefix,
int i)
Build dest dir with an index. |
String |
getDestDirPrefix()
Gets the prefix of the destination directory. |
int |
getDestDirSuffixIndFirst()
Gets the first index of the destDir suffix. |
int |
getDestDirSuffixIndLast()
Gets the last index of the destDir suffix. |
int |
getEjbInstNb()
Get the ejb instances number. |
String |
getLogInfo()
Gets logger info (to be displayed). |
org.apache.tools.ant.Task |
getRootTask()
Get root Task. |
int |
getWebInstNb()
Get the web instances number. |
void |
log(String msg)
Logging. |
void |
setArch(String arch)
Set architecture. |
void |
setDestDirPrefix(String destDirPrefix)
Set directory prefix. |
void |
setDestDirSuffixIndFirst(int destDirSuffixIndFirst)
|
void |
setDestDirSuffixIndLast(int destDirSuffixIndLast)
|
void |
setEjbInstNb(int ejbInstNb)
Set the ejb instances number. |
void |
setLogInfo(String logInfo)
Set the info to be displayed by the logger. |
void |
setRootTask(org.apache.tools.ant.Task rootTask)
Set root task. |
void |
setWebInstNb(int webInstNb)
Set the web instances number. |
| Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks |
|---|
addTask, addTasks, addTasks, getTasks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String ARCH_BOTH_WEB_EJB
protected static final String ARCH_SEPARATED_WEB_EJB
| Constructor Detail |
|---|
public ClusterTasks()
| Method Detail |
|---|
public void setDestDirPrefix(String destDirPrefix)
destDirPrefix - The destDirPrefix to set.public String getDestDirPrefix()
public void setDestDirSuffixIndFirst(int destDirSuffixIndFirst)
destDirSuffixIndFirst - The destDirSuffixIndFirst to set.public int getDestDirSuffixIndFirst()
public void setDestDirSuffixIndLast(int destDirSuffixIndLast)
destDirSuffixIndLast - The destDirSuffixIndLast to set.public int getDestDirSuffixIndLast()
public String getLogInfo()
BaseTaskItf.getLogInfo()public void setLogInfo(String logInfo)
logInfo - information to be displayedBaseTaskItf.setLogInfo(java.lang.String)
public static String getDestDir(String destDirPrefix,
int i)
destDirPrefix - destination directory prefixi - index
public void setArch(String arch)
arch - the architecturepublic String getArch()
public void setWebInstNb(int webInstNb)
webInstNb - number of web instancespublic int getWebInstNb()
public void setEjbInstNb(int ejbInstNb)
ejbInstNb - number of ejb instancespublic int getEjbInstNb()
public void setRootTask(org.apache.tools.ant.Task rootTask)
rootTask - root taskpublic org.apache.tools.ant.Task getRootTask()
public void addClusterTask(ClusterTasks ct)
ct - task to addpublic List<ClusterTasks> getClusterTasks()
public void log(String msg)
msg - message to logpublic abstract void generatesTasks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||