|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.jmx.mbeans.BaseAdmin
com.ibm.di.api.jmx.mbeans.AssemblyLine
public class AssemblyLine
Field Summary | |
---|---|
static String |
MBEAN_TYPE
|
Constructor Summary | |
---|---|
AssemblyLine(AssemblyLine aAssemblyLine)
|
Method Summary | |
---|---|
static javax.management.ObjectName |
genObjectName(String aAssemblyLineName,
int aUniqueCode)
|
AssemblyLineConfig |
getConfig()
Returns configuration information about the AssemblyLine. |
javax.management.ObjectName |
getConfigInstance()
Returns ObjectName generated from the AssemblyLine’s configuration ID, gotten from the AssemblyLine’s configuration instance. |
String |
getGlobalUniqueID()
Returns AssemblyLine GUID. |
String |
getId()
Reads attribute "Id". |
String |
getName()
Returns the name of the AssemblyLine. |
String |
getNullBehavior()
Gets the nullBehavior attribute of the AssemblyLine object |
String |
getNullBehaviorValue()
Gets the nullBehaviorValue attribute of the AssemblyLine object. |
Entry |
getResult()
This method returns the result entry object. |
TaskStatistics |
getStatistics()
This method returns the TaskStatistics object for this AssemblyLine. |
String |
getSystemLog()
Retrieves the current AssemblyLine's system log. |
String |
getSystemLogFileName()
Returns the name of the log file of the AssemblyLine (not prefixed by folders path). |
String |
getSystemLogFilePath()
Returns the fully-qualified path of the log file of the AssemblyLine. |
String |
getSystemLogLastChunk(Integer aLastKilobytes)
Retrieves the last chunk from the current AssemblyLine's system log. |
String |
getType()
Reads attribute "Type". |
Integer |
getUniqueCode()
Returns the unique code of the AssemblyLine. |
Boolean |
isActive()
Checks if the AssemblyLine is active. |
void |
stop()
Stops the execution of the AssemblyLine. |
Methods inherited from class com.ibm.di.api.jmx.mbeans.BaseAdmin |
---|
getCurrentUserId, getKeyPropertyList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MBEAN_TYPE
Constructor Detail |
---|
public AssemblyLine(AssemblyLine aAssemblyLine) throws DIException
DIException
Method Detail |
---|
public String getType()
BaseMBean
getType()
and getId()
are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId()
, for example
"type=AssemblyLine,id=Hello".
getType
in interface BaseMBean
public String getId()
BaseMBean
getType()
and getId()
are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId()
, for example
"type=AssemblyLine,id=Hello".
getId
in interface BaseMBean
public javax.management.ObjectName getConfigInstance() throws DIException
AssemblyLineMBean
getConfigInstance
in interface AssemblyLineMBean
DIException
- if an error occurs while generating the ObjectName.public String getName() throws DIException
AssemblyLineMBean
getName
in interface AssemblyLineMBean
DIException
- if an error occurs while retrieving the name of the AssemblyLine.public Integer getUniqueCode() throws DIException
AssemblyLineMBean
getUniqueCode
in interface AssemblyLineMBean
DIException
- if an error occurs while retrieving the unique code of the AssemblyLine.public AssemblyLineConfig getConfig() throws DIException
AssemblyLineMBean
getConfig
in interface AssemblyLineMBean
DIException
- if an error occurs while retrieving the configuration information of the AssemblyLine.public String getNullBehavior() throws DIException
AssemblyLineMBean
getNullBehavior
in interface AssemblyLineMBean
DIException
- if an error occurs while getting the nullBehavior attribute.public String getNullBehaviorValue() throws DIException
AssemblyLineMBean
getNullBehaviorValue
in interface AssemblyLineMBean
DIException
- if an error occurs while getting the nullBehaviorValue attribute.public TaskStatistics getStatistics() throws DIException
AssemblyLineMBean
getStatistics
in interface AssemblyLineMBean
DIException
- if an error occurs while getting the AssemblyLine statistics.public Boolean isActive() throws DIException
AssemblyLineMBean
isActive
in interface AssemblyLineMBean
DIException
- if an error occurs while getting the AssemblyLine state.public Entry getResult() throws DIException
AssemblyLineMBean
getResult
in interface AssemblyLineMBean
DIException
- if an error occurs while getting the result Entry.public void stop() throws DIException
AssemblyLineMBean
stop
in interface AssemblyLineMBean
DIException
- if an error occurs while stopping the AssemblyLine.public String getSystemLogFilePath() throws DIException
AssemblyLineMBean
getSystemLogFilePath
in interface AssemblyLineMBean
DIException
- if an error occurs while obtaining AssemblyLine log file path.public String getSystemLogFileName() throws DIException
AssemblyLineMBean
getSystemLogFileName
in interface AssemblyLineMBean
DIException
- if an error occurs while obtaining AssemblyLine log file name.public String getSystemLog() throws DIException
AssemblyLineMBean
getSystemLog
in interface AssemblyLineMBean
DIException
- if an error occurs while obtaining AssemblyLine's log.public String getSystemLogLastChunk(Integer aLastKilobytes) throws DIException
AssemblyLineMBean
getSystemLogLastChunk
in interface AssemblyLineMBean
aLastKilobytes
- specifies in kilobytes the size of the
log's last chunk that will be read.
DIException
- if an error occurs while obtaining AssemblyLine's log.public static javax.management.ObjectName genObjectName(String aAssemblyLineName, int aUniqueCode) throws DIException
DIException
public String getGlobalUniqueID() throws DIException
AssemblyLineMBean
getGlobalUniqueID
in interface AssemblyLineMBean
DIException
- if an error occurs while obtaining the GUID.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |