Package org.wildfly.prospero.updates
Class MarkerFile
- java.lang.Object
-
- org.wildfly.prospero.updates.MarkerFile
-
public class MarkerFile extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static PathUPDATE_MARKER_FILE
-
Constructor Summary
Constructors Constructor Description MarkerFile(String state, ApplyCandidateAction.Type operation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ApplyCandidateAction.TypegetOperation()StringgetState()inthashCode()static MarkerFileread(Path serverPath)StringtoString()voidwrite(Path targetPath)
-
-
-
Field Detail
-
UPDATE_MARKER_FILE
public static final Path UPDATE_MARKER_FILE
-
-
Constructor Detail
-
MarkerFile
public MarkerFile(String state, ApplyCandidateAction.Type operation)
-
-
Method Detail
-
getState
public String getState()
-
getOperation
public ApplyCandidateAction.Type getOperation()
-
read
public static MarkerFile read(Path serverPath) throws IOException
- Throws:
IOException
-
write
public void write(Path targetPath) throws IOException
- Throws:
IOException
-
-