Class TrsServiceControl

java.lang.Object
com.sodius.oslc.server.trs.services.TrsServiceControl

public class TrsServiceControl extends Object
Encapsulates control variables for a Base and ChangeLog computation.
Since:
1.10.0
  • Constructor Details

    • TrsServiceControl

      public TrsServiceControl(URI domain)
      Constructs an instance specifying the underlying TRS domain URI.
      Parameters:
      domain - underlying TRS domain URI.
  • Method Details

    • isBaseComputed

      public boolean isBaseComputed()
      Determines whether the base has been computed or not.
      Returns:
      true if base has been computed; false otherwise.
    • getDomain

      public URI getDomain()
      Gets the underlying TRS feed domain that this instance controls.
      Returns:
      underlying TRS feed domain that this instance controls.
    • getBaseUpdate

      public Date getBaseUpdate()
      Gets the date of the last base update.
      Returns:
      the date of the last base update.
    • setBaseUpdate

      public void setBaseUpdate(Date baseUpdate)
      Sets the date of the last base update.
      Parameters:
      baseUpdate - the date of the last base update.
    • getBaseCutoffEvent

      public ChangeEventSeed getBaseCutoffEvent()
      Gets the base cut-off event.
      Returns:
      the base cut-off event.
    • setBaseCutoffEvent

      public void setBaseCutoffEvent(ChangeEventSeed baseCutoffEvent)
      Sets the base cut-off event.
      Parameters:
      baseCutoffEvent - base cut-off event.
    • getLastBaseMemberId

      public long getLastBaseMemberId()
      Gets the last base member id.
      Returns:
      last base member id.
    • setLastBaseMemberId

      public void setLastBaseMemberId(long id)
      Sets the last base member id.
      Parameters:
      id - last base member id.
    • getChangeLogUpdate

      public Date getChangeLogUpdate()
      Gets the date of the last change log update.
      Returns:
      the date of the last change log update.
    • setChangeLogUpdate

      public void setChangeLogUpdate(Date changeLogUpdate)
      Sets the date of the last change log update.
      Parameters:
      changeLogUpdate - the date of the last change log update.
    • getLastEventOrder

      public long getLastEventOrder()
      Gets the last order of change log's events.
      Returns:
      the last order of change log's events.
      Since:
      4.0.0
    • setLastEventOrder

      public void setLastEventOrder(long lastEventOrder)
      Sets the last order of change log's events.
      Parameters:
      lastEventOrder - the last order of the change log's events.
      Since:
      4.0.0
    • getLastBuilderUser

      public String getLastBuilderUser()
      Gets the last TRS functional user to perform a rebuild.
      Returns:
      the last TRS functional user to perform a rebuild
    • setLastBuilderUser

      public void setLastBuilderUser(String lastBuilderUser)
      Sets the last TRS functional user to perform a rebuild.
      Parameters:
      lastBuilderUser - the last TRS functional user to perform a rebuild.