use of org.jetbrains.jps.model.serialization.artifact.ArtifactPropertiesState in project intellij-community by JetBrains.
the class JpsJavaFxArtifactPropertiesSerializer method saveProperties.
@Override
public void saveProperties(JpsJavaFxArtifactProperties properties, List<ArtifactPropertiesState> stateList) {
final ArtifactPropertiesState state = findApplicationProperties(stateList);
if (state == null) {
return;
}
state.setOptions(XmlSerializer.serialize(properties));
}
use of org.jetbrains.jps.model.serialization.artifact.ArtifactPropertiesState in project intellij-community by JetBrains.
the class JpsJavaFxArtifactPropertiesSerializer method doLoadProperties.
private static JpsJavaFxArtifactProperties.MyState doLoadProperties(List<ArtifactPropertiesState> stateList) {
final ArtifactPropertiesState state = findApplicationProperties(stateList);
if (state == null) {
return null;
}
final Element options = state.getOptions();
if (options == null) {
return null;
}
return XmlSerializer.deserialize(options, JpsJavaFxArtifactProperties.MyState.class);
}
use of org.jetbrains.jps.model.serialization.artifact.ArtifactPropertiesState in project intellij-community by JetBrains.
the class JpsJavaFxPreloaderArtifactPropertiesSerializer method doLoadProperties.
private static JpsJavaFxPreloaderArtifactProperties.MyState doLoadProperties(List<ArtifactPropertiesState> stateList) {
final ArtifactPropertiesState state = findApplicationProperties(stateList);
if (state == null) {
return null;
}
final Element options = state.getOptions();
if (options == null) {
return null;
}
return XmlSerializer.deserialize(options, JpsJavaFxPreloaderArtifactProperties.MyState.class);
}
use of org.jetbrains.jps.model.serialization.artifact.ArtifactPropertiesState in project intellij-community by JetBrains.
the class JpsJavaFxPreloaderArtifactPropertiesSerializer method saveProperties.
@Override
public void saveProperties(JpsJavaFxPreloaderArtifactProperties properties, List<ArtifactPropertiesState> stateList) {
final ArtifactPropertiesState state = findApplicationProperties(stateList);
if (state == null) {
return;
}
state.setOptions(XmlSerializer.serialize(properties));
}
Aggregations