Class SchedulingEnvironment

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.svpse.SchedulingEnvironment

public final class SchedulingEnvironment extends SmfData
  • Field Details

    • SVPSE_SECTION

      public static final int SVPSE_SECTION
      Constant: 0x01 = 1
      See Also:
    • SVPSE_HDR_SECTION

      public static final int SVPSE_HDR_SECTION
      Constant: 0x02 = 2
      See Also:
    • SVPSE_SE_SECTION

      public static final int SVPSE_SE_SECTION
      Constant: 0x03 = 3
      See Also:
    • SVPSE_SR_SECTION

      public static final int SVPSE_SR_SECTION
      Constant: 0x04 = 4
      See Also:
    • SVPSE_RE_SECTION

      public static final int SVPSE_RE_SECTION
      Constant: 0x05 = 5
      See Also:
  • Method Details

    • schedulingEnvironmentEntries

      public List<SchedulingEnvironmentEntry> schedulingEnvironmentEntries()
      Get a List containing Scheduling Environment Entries from the record
      Returns:
      a list of SchedulingEnvironmentEntry (possibly empty)
    • schedulingEnvironmentResourcesEntries

      public List<SchedulingEnvironmentResourcesEntry> schedulingEnvironmentResourcesEntries()
      Get a List containing Scheduling Environment Resources Entries from the record
      Returns:
      a list of SchedulingEnvironmentResourcesEntry (possibly empty)
    • schedulingResourcesEntries

      public List<SchedulingResourcesEntry> 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

      public String 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

      public static SchedulingEnvironment create(byte[] Data, int offset, int length, boolean complete)
      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 section
      offset - Offset of this section in the data
      length - length of the section