Package com.uc4.api.objects
Class ConsoleOS390
- java.lang.Object
-
- com.uc4.api.objects.ConsoleEventSetting
-
- com.uc4.api.objects.ConsoleOS390
-
- All Implemented Interfaces:
java.lang.Iterable<ConsoleOS390.ConsoleOS390Filter>
public class ConsoleOS390 extends ConsoleEventSetting implements java.lang.Iterable<ConsoleOS390.ConsoleOS390Filter>
Console Event settings for OS/390.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConsoleOS390.ConsoleOS390Filter
This class represents a single filter entry for OS/390 Console Events.
-
Field Summary
-
Fields inherited from class com.uc4.api.objects.ConsoleEventSetting
TYPE_BS2000, TYPE_OS390, TYPE_OS400, TYPE_R3, TYPE_WINDOWS
-
-
Constructor Summary
Constructors Constructor Description ConsoleOS390()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilter(ConsoleOS390.ConsoleOS390Filter f)
Adds a filter.void
clearFilters()
Removes all existing filter entries.java.lang.String
getOsName()
java.lang.String
getSystemName()
java.util.Iterator<ConsoleOS390.ConsoleOS390Filter>
iterator()
Returns anIterator
overConsoleOS390Filter
.protected void
loadConsole(com.uc4.util.XMLDocument doc, org.w3c.dom.Element consoleElement)
void
setOsName(java.lang.String osName)
Set a filter here for the OS name as defined by IBM.void
setSystemName(java.lang.String systemName)
Specify a filter for the user-defined system name which may be used to distinguish various OS instances.int
size()
protected void
storeConsole(com.uc4.util.XMLDocument doc, org.w3c.dom.Element consoleElement)
-
Methods inherited from class com.uc4.api.objects.ConsoleEventSetting
getHostName, setHostName
-
-
-
-
Method Detail
-
loadConsole
protected void loadConsole(com.uc4.util.XMLDocument doc, org.w3c.dom.Element consoleElement)
- Specified by:
loadConsole
in classConsoleEventSetting
-
storeConsole
protected void storeConsole(com.uc4.util.XMLDocument doc, org.w3c.dom.Element consoleElement)
- Specified by:
storeConsole
in classConsoleEventSetting
-
clearFilters
public void clearFilters()
Removes all existing filter entries.
-
addFilter
public void addFilter(ConsoleOS390.ConsoleOS390Filter f)
Adds a filter.- Parameters:
f
- OS/390 Console Event filter
-
iterator
public java.util.Iterator<ConsoleOS390.ConsoleOS390Filter> iterator()
Returns anIterator
overConsoleOS390Filter
. The iterator can also be used to delete filter entries.- Specified by:
iterator
in interfacejava.lang.Iterable<ConsoleOS390.ConsoleOS390Filter>
- Returns:
- Iterator
-
size
public int size()
- Returns:
- Number of filter entries
-
getSystemName
public java.lang.String getSystemName()
- Returns:
- System name
-
setSystemName
public void setSystemName(java.lang.String systemName)
Specify a filter for the user-defined system name which may be used to distinguish various OS instances. Maximum 8 figures- Parameters:
systemName
- System name
-
getOsName
public java.lang.String getOsName()
- Returns:
- OS-Name
-
setOsName
public void setOsName(java.lang.String osName)
Set a filter here for the OS name as defined by IBM. Currently, it is always "MVS". Maximum 8 figures- Parameters:
osName
- OS-Name
-
-