Class ArchivePVState

java.lang.Object
org.epics.archiverappliance.mgmt.archivepv.ArchivePVState

public class ArchivePVState extends Object
State for the archive PV workflow
Author:
mshankar
  • Constructor Details

  • Method Details

    • nextStep

      public void nextStep()
    • hasNotConnectedSoFar

      public boolean hasNotConnectedSoFar()
    • startArchivingPV

      public static void startArchivingPV(String pvName, ConfigService configService, ApplianceInfo applianceInfoForPV) throws IOException
      Start archiving the PV as specified in the PVTypeInfo in configService. This method expects to be called after the PVTypeInfo for this PV has been completely determined and has settled in the cache.
      Parameters:
      pvName - The name of PV
      configService - ConfigService
      applianceInfoForPV - ApplianceInfo
      Throws:
      IOException -  
    • getStartOfWorkflow

      public Instant getStartOfWorkflow()
    • metaInfoRequestAcknowledged

      public void metaInfoRequestAcknowledged()
    • metaInfoObtained

      public void metaInfoObtained(MetaInfo metaInfo)
    • errorGettingMetaInfo

      public void errorGettingMetaInfo()
    • confirmedStartedArchivingPV

      public void confirmedStartedArchivingPV()
    • getCurrentState

      public ArchivePVState.ArchivePVStateMachine getCurrentState()
      Returns:
      The current archiving state machine state
    • getPvName

      public String getPvName()
    • getMetaInfoRequestedSubmitted

      public Instant getMetaInfoRequestedSubmitted()
    • getAbortReason

      public String getAbortReason()
    • setAbortReason

      public void setAbortReason(String abortReason)