Package com.uc4.api.objects
Class AttributesGeneric
java.lang.Object
com.uc4.api.objects.AttributesGeneric
- All Implemented Interfaces:
IHostAttributes,PythonJob
Host attributes for Generic Jobs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of fields in the host attributes.voidload(com.uc4.util.XMLDocument doc, Element hostAttr, ConnectionAttributes sessionInfo) Loads the host attributes.name()Returns the host attributes name.ReturnsPythonJobAttributesor empty if the sub type of the OS Job is not Python.voidstore(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) Writes the host attributes back to theXMLDocument.
-
Constructor Details
-
AttributesGeneric
public AttributesGeneric()
-
-
Method Details
-
pythonAttributes
Description copied from interface:PythonJobReturnsPythonJobAttributesor empty if the sub type of the OS Job is not Python.- Specified by:
pythonAttributesin interfacePythonJob- Returns:
- Python job attributes
-
load
Description copied from interface:IHostAttributesLoads the host attributes.- Specified by:
loadin interfaceIHostAttributes- Parameters:
doc- XML Document containing the JobhostAttr- Element which contains host attributessessionInfo- Session details
-
store
public void store(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) Description copied from interface:IHostAttributesWrites the host attributes back to theXMLDocument.- Specified by:
storein interfaceIHostAttributes- Parameters:
doc- DocumentobjectElement- ObjectElementsessionInfo- Session details
-
fieldCount
public int fieldCount()Description copied from interface:IHostAttributesReturns the number of fields in the host attributes.- Specified by:
fieldCountin interfaceIHostAttributes- Returns:
- number of fields
-
name
Description copied from interface:IHostAttributesReturns the host attributes name.- Specified by:
namein interfaceIHostAttributes- Returns:
- name
-