use of com.developmentontheedge.be5.metadata.model.MassChanges in project be5 by DevelopmentOnTheEdge.
the class Serialization method reloadMassChanges.
public static MassChanges reloadMassChanges(final Path file, final Module application) throws ReadException {
checkProject(application.getProject());
turnOffAutomaticSerialization();
try {
return new YamlDeserializer(new LoadContext()).reloadMassChanges(file, application);
} finally {
turnOnAutomaticSerialization();
}
}
use of com.developmentontheedge.be5.metadata.model.MassChanges in project be5 by DevelopmentOnTheEdge.
the class YamlSerializer method serialize.
public void serialize(final MassChanges massChanges) throws WriteException {
this.fileSystem = new ProjectFileSystem(massChanges.getProject());
new MassChangesSerializer().serialize(massChanges);
}
use of com.developmentontheedge.be5.metadata.model.MassChanges in project be5 by DevelopmentOnTheEdge.
the class YamlDeserializer method reloadMassChanges.
public MassChanges reloadMassChanges(final Path path, final Module application) throws ReadException {
final MassChanges massChanges = application.newMassChangeCollection();
final MassChangesDeserializer massChangesDeserializer = new MassChangesDeserializer(path, massChanges);
massChangesDeserializer.deserialize();
DataElementUtils.saveQuiet(massChangesDeserializer.getResult());
return massChangesDeserializer.getResult();
}
Aggregations