Class ArchivePVState
java.lang.Object
org.epics.archiverappliance.mgmt.archivepv.ArchivePVState
State for the archive PV workflow
- Author:
- mshankar
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanvoidmetaInfoObtained(MetaInfo metaInfo) voidvoidnextStep()voidsetAbortReason(String abortReason) static voidstartArchivingPV(String pvName, ConfigService configService, ApplianceInfo applianceInfoForPV) Start archiving the PV as specified in the PVTypeInfo in configService.
-
Constructor Details
-
ArchivePVState
-
-
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 PVconfigService- ConfigServiceapplianceInfoForPV- ApplianceInfo- Throws:
IOException-
-
getStartOfWorkflow
-
metaInfoRequestAcknowledged
public void metaInfoRequestAcknowledged() -
metaInfoObtained
-
errorGettingMetaInfo
public void errorGettingMetaInfo() -
confirmedStartedArchivingPV
public void confirmedStartedArchivingPV() -
getCurrentState
- Returns:
- The current archiving state machine state
-
getPvName
-
getMetaInfoRequestedSubmitted
-
getAbortReason
-
setAbortReason
-