Package org.wildfly.prospero.updates
Class CandidatePropertiesParser
- java.lang.Object
-
- org.wildfly.prospero.updates.CandidatePropertiesParser
-
public class CandidatePropertiesParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static com.fasterxml.jackson.databind.ObjectMapperOBJECT_MAPPERprotected static com.fasterxml.jackson.dataformat.yaml.YAMLFactoryYAML_FACTORY
-
Constructor Summary
Constructors Constructor Description CandidatePropertiesParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CandidatePropertiesread(Path file)static voidwrite(CandidateProperties properties, Path file)
-
-
-
Method Detail
-
read
public static CandidateProperties read(Path file) throws IOException, MetadataException
- Throws:
IOExceptionMetadataException
-
write
public static void write(CandidateProperties properties, Path file) throws IOException
- Throws:
IOException
-
-