Package org.frankframework.util
Class SapSystemListItem
java.lang.Object
org.frankframework.util.SapSystemListItem
- All Implemented Interfaces:
INamedObject
Base class for items of global lists.
The list itself is contained as a static field.
New items are registerd using registerItem().
Typical use: SapSystem.getSystem(name).<method to execute>
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
void
configure() will be called once for each item registered, except for the aliasses.protected static SapSystemListItem
Get an item by Name.getName()
Get the system names as an Iterator, alphabetically sortedGets a list with system names.static void
Register an item in the listvoid
setAliasFor
(String string) If this attribute is set, the item is only an alias for another item.void
The name under which the item can be retrieved.toString()
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
SapSystemListItem
public SapSystemListItem()
-
-
Method Details
-
configure
public void configure()configure() will be called once for each item registered, except for the aliasses. -
getItem
Get an item by Name. Descender classes should implement a similar method, that returns an object of its own type. -
getRegisteredNames
Get the system names as an Iterator, alphabetically sorted- Returns:
- Iterator with the realm names, alphabetically sorted
-
getRegisteredNamesAsList
Gets a list with system names. -
registerItem
Register an item in the list -
clear
public static void clear() -
toString
-
setName
The name under which the item can be retrieved.- Specified by:
setName
in interfaceINamedObject
-
getName
- Specified by:
getName
in interfaceINamedObject
-
setAliasFor
If this attribute is set, the item is only an alias for another item. -
getAliasFor
-