Class TrsServiceControl


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

      • TrsServiceControl

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

      • 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 int getLastEventOrder()
        Gets the last order of change log's events.
        Returns:
        the last order of change log's events.
      • setLastEventOrder

        public void setLastEventOrder​(int lastEventOrder)
        Sets the last order of change log's events.
        Parameters:
        lastEventOrder - the last order of the change log's events.
      • 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.
      • getRebuildRequest

        public Date getRebuildRequest()
        Returns the date at which the current rebuild was triggered, null if no rebuild is in progress.
        Returns:
        the date at which the current rebuild was triggered, null if no rebuild is in progress.
        Since:
        3.5.0
      • setRebuildRequest

        public void setRebuildRequest​(Date rebuildRequest)
        Sets the date at which the current rebuild was triggered, null if no rebuild is in progress.
        Parameters:
        rebuildRequest - the date at which the current rebuild was triggered, null if no rebuild is in progress.
        Since:
        3.5.0