ArtifactPropertiesState (List<ArtifactPropertiesState> stateList) { for (ArtifactPropertiesState state : stateList) { if ("javafx-preloader-properties".equals(state.getId())) { return state; } } return null; }