|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.server.ControlProcesses
public class ControlProcesses
This class has the ability to start, stop and return AssemblyLines. It can also return information such as AssemblyLine configurations in the form of Hashtables.
Field Summary | |
---|---|
static String |
AL_LAST_EXIT
Key for the AssemblyLine's last exit text. |
static String |
AL_LAST_STARTED
Key for the AssemblyLine's last started parameter. |
static String |
AL_LAST_STATUS
Key for the AssemblyLine's last status. |
static String |
AL_NAME
Key for the AssemblyLine name. |
static String |
AL_RUNNING_BOOL
Key for specifying whether the AssemblyLine is running. |
static String |
AL_STATUS
Key for the AssemblyLine status. |
static String |
AL_VALUE_LAST_STATUS_OK
A helper constant that defines a value for AssemblyLine's status property. |
static String |
AL_VALUE_NEVER_EXIT
A helper constant that defines a value for AssemblyLine's last exit property. |
static String |
AL_VALUE_NEVER_STARTED
A helper constant that defines a value for AssemblyLine's last started property. |
static String |
AL_VALUE_RUNNING_FALSE
A helper constant that defines a value for AssemblyLine's running property. |
static String |
AL_VALUE_RUNNING_TRUE
A helper constant that defines a value for AssemblyLine's running property. |
static String |
CONN_ENABLED
Key for the Connector's enabled parameter. |
static String |
CONN_ENABLED_BOOL
Key for the Connector's enabled parameter. |
static String |
CONN_MODE
Key for the Connector's name parameter. |
static String |
CONN_NAME
Key for the Connector's name parameter. |
static String |
CONN_PARSER
Key for the Connector's parser parameter. |
static String |
CONN_TYPE
Key for the Connector's mode parameter. |
static String |
CONN_VALUE_ENABLED_FALSE
A helper constant that defines a value for Connector's enabled property. |
static String |
CONN_VALUE_ENABLED_TRUE
A helper constant that defines a value for Connector's enabled property. |
static String |
CONN_VALUE_NO_PARSER
A helper constant that defines a value for Connector's parser property. |
static String |
SVR_HOST_NAME
Key for the Server's host name parameter. |
static String |
SVR_IP_ADDRESS
Key for the Server's ip address parameter. |
static String |
SVR_OPERATING_SYSTEM
Key for the Server's operating system parameter. |
static String |
SVR_SERVER_VERSION
Key for the Server's version parameter. |
static String |
SVR_VALUE_UNKNOWN
A helper constant that defines a value for Server's property. |
Constructor Summary | |
---|---|
ControlProcesses()
|
Method Summary | |
---|---|
Vector |
getAssemblyLineConfiguration(String aAssemblyLineName)
Given an AssemblyLine's name this method retrieves information about its Connectors. |
Vector |
getAssemblyLines()
Retrieves all AssemblyLines along with their status on the server. |
Hashtable |
getServerData()
Retrieves general properties about the MI Server. |
boolean |
startAssemblyLine(String aAssemblyLineName)
Starts an AssemlbyLine given its name. |
void |
stopAssemblyLine(String aAssemblyLineName)
Stops an AssemblyLine given its name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AL_NAME
public static final String AL_RUNNING_BOOL
public static final String AL_STATUS
public static final String AL_LAST_STARTED
public static final String AL_LAST_STATUS
public static final String AL_LAST_EXIT
public static final String AL_VALUE_RUNNING_TRUE
public static final String AL_VALUE_RUNNING_FALSE
public static final String AL_VALUE_LAST_STATUS_OK
public static final String AL_VALUE_NEVER_STARTED
public static final String AL_VALUE_NEVER_EXIT
public static final String CONN_NAME
public static final String CONN_ENABLED_BOOL
public static final String CONN_ENABLED
public static final String CONN_MODE
public static final String CONN_TYPE
public static final String CONN_PARSER
public static final String CONN_VALUE_ENABLED_TRUE
public static final String CONN_VALUE_ENABLED_FALSE
public static final String CONN_VALUE_NO_PARSER
public static final String SVR_IP_ADDRESS
public static final String SVR_HOST_NAME
public static final String SVR_OPERATING_SYSTEM
public static final String SVR_SERVER_VERSION
public static final String SVR_VALUE_UNKNOWN
Constructor Detail |
---|
public ControlProcesses()
Method Detail |
---|
public Vector getAssemblyLines()
public void stopAssemblyLine(String aAssemblyLineName)
aAssemblyLineName
- The name of the AssemblyLine to be stopped.public boolean startAssemblyLine(String aAssemblyLineName)
aAssemblyLineName
- The name of the AssemlbyLine to be started.
public Vector getAssemblyLineConfiguration(String aAssemblyLineName) throws Exception
aAssemblyLineName
- The name of the AssemblyLine which configuration will be
retrieved.
Exception
- if a problem occurs.public Hashtable getServerData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |