Package com.blackhillsoftware.svpse
Class SchedulingEnvironment
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.svpse.SchedulingEnvironment
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x02 = 2static final int
Constant: 0x05 = 5static final int
Constant: 0x03 = 3static final int
Constant: 0x01 = 1static final int
Constant: 0x04 = 4 -
Method Summary
Modifier and TypeMethodDescriptionboolean
complete()
True if all sections of the scheduling environment were located.static SchedulingEnvironment
create
(byte[] Data, int offset, int length, boolean complete) create is intended for internal use only.Get a List containing Scheduling Environment Entries from the recordGet a List containing Scheduling Environment Resources Entries from the recordGet a List containing Scheduling Resources Entries from the recordint
SVPSE_EXT_DATA_LEN value.int
SVPSE_EXT_DATA_OFF value.int
SVPSE_EXT_NUM_SE value.int
SVPSE_EXT_OFF_SE value.int
SVPSE_EXT_SIZ_SE value.SVPSE_EYECATCHER value.int
SVPSE_FUNCTIONALITY_LEVEL value.int
SVPSE_NUMBER_RE value.int
SVPSE_NUMBER_SE value.int
SVPSE_NUMBER_SR value.int
SVPSE_OFFSET_RE value.int
SVPSE_OFFSET_SE value.int
SVPSE_OFFSET_SR value.int
SVPSE_SIZE_OF_HEADER value.int
SVPSE_SIZE_OF_WHOLE_SVPSE value.int
SVPSE_SIZE_RE value.int
SVPSE_SIZE_SE value.int
SVPSE_SIZE_SR value.long
SVPSE_SVPSESEQ value.int
SVPSE_WLM_VERSION_NUMBER value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SVPSE_SECTION
public static final int SVPSE_SECTIONConstant: 0x01 = 1- See Also:
-
SVPSE_HDR_SECTION
public static final int SVPSE_HDR_SECTIONConstant: 0x02 = 2- See Also:
-
SVPSE_SE_SECTION
public static final int SVPSE_SE_SECTIONConstant: 0x03 = 3- See Also:
-
SVPSE_SR_SECTION
public static final int SVPSE_SR_SECTIONConstant: 0x04 = 4- See Also:
-
SVPSE_RE_SECTION
public static final int SVPSE_RE_SECTIONConstant: 0x05 = 5- See Also:
-
-
Method Details
-
schedulingEnvironmentEntries
Get a List containing Scheduling Environment Entries from the record- Returns:
- a list of SchedulingEnvironmentEntry (possibly empty)
-
schedulingEnvironmentResourcesEntries
Get a List containing Scheduling Environment Resources Entries from the record- Returns:
- a list of SchedulingEnvironmentResourcesEntry (possibly empty)
-
schedulingResourcesEntries
Get a List containing Scheduling Resources Entries from the record- Returns:
- a list of SchedulingResourcesEntry (possibly empty)
-
complete
public boolean complete()True if all sections of the scheduling environment were located. The scheduling environment can be broken into multiple sections, in multiple SMF records and some sections might not be available when the environment is reassembled. Some available sections may not be included if the correct offset could not be determined i.e. all data after the first missing segment might be zeros- Returns:
- boolean true if all of the scheduling environment is present
-
svpseEyecatcher
SVPSE_EYECATCHER value.- Returns:
- String SVPSE_EYECATCHER value
-
svpseFunctionalityLevel
public int svpseFunctionalityLevel()SVPSE_FUNCTIONALITY_LEVEL value.- Returns:
- int SVPSE_FUNCTIONALITY_LEVEL value
-
svpseWlmVersionNumber
public int svpseWlmVersionNumber()SVPSE_WLM_VERSION_NUMBER value.- Returns:
- int SVPSE_WLM_VERSION_NUMBER value
-
svpseSizeOfHeader
public int svpseSizeOfHeader()SVPSE_SIZE_OF_HEADER value.- Returns:
- int SVPSE_SIZE_OF_HEADER value
-
svpseSizeOfWholeSvpse
public int svpseSizeOfWholeSvpse()SVPSE_SIZE_OF_WHOLE_SVPSE value.- Returns:
- int SVPSE_SIZE_OF_WHOLE_SVPSE value
-
svpseSvpseSeq
public long svpseSvpseSeq()SVPSE_SVPSESEQ value.- Returns:
- long SVPSE_SVPSESEQ value
-
svpseOffsetSe
public int svpseOffsetSe()SVPSE_OFFSET_SE value.- Returns:
- int SVPSE_OFFSET_SE value
-
svpseNumberSe
public int svpseNumberSe()SVPSE_NUMBER_SE value.- Returns:
- int SVPSE_NUMBER_SE value
-
svpseSizeSe
public int svpseSizeSe()SVPSE_SIZE_SE value.- Returns:
- int SVPSE_SIZE_SE value
-
svpseOffsetSr
public int svpseOffsetSr()SVPSE_OFFSET_SR value.- Returns:
- int SVPSE_OFFSET_SR value
-
svpseNumberSr
public int svpseNumberSr()SVPSE_NUMBER_SR value.- Returns:
- int SVPSE_NUMBER_SR value
-
svpseSizeSr
public int svpseSizeSr()SVPSE_SIZE_SR value.- Returns:
- int SVPSE_SIZE_SR value
-
svpseOffsetRe
public int svpseOffsetRe()SVPSE_OFFSET_RE value.- Returns:
- int SVPSE_OFFSET_RE value
-
svpseNumberRe
public int svpseNumberRe()SVPSE_NUMBER_RE value.- Returns:
- int SVPSE_NUMBER_RE value
-
svpseSizeRe
public int svpseSizeRe()SVPSE_SIZE_RE value.- Returns:
- int SVPSE_SIZE_RE value
-
svpseExtDataOff
public int svpseExtDataOff()SVPSE_EXT_DATA_OFF value.- Returns:
- int SVPSE_EXT_DATA_OFF value
-
svpseExtDataLen
public int svpseExtDataLen()SVPSE_EXT_DATA_LEN value.- Returns:
- int SVPSE_EXT_DATA_LEN value
-
svpseExtOffSe
public int svpseExtOffSe()SVPSE_EXT_OFF_SE value.- Returns:
- int SVPSE_EXT_OFF_SE value
-
svpseExtNumSe
public int svpseExtNumSe()SVPSE_EXT_NUM_SE value.- Returns:
- int SVPSE_EXT_NUM_SE value
-
svpseExtSizSe
public int svpseExtSizSe()SVPSE_EXT_SIZ_SE value.- Returns:
- int SVPSE_EXT_SIZ_SE value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-