Class ProjectManifest
java.lang.Object
com.inductiveautomation.ignition.common.project.ProjectManifest
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionProjectManifest(String title, String description, boolean enabled, boolean inheritable, String parent) 
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Create a copy of thisProjectManifest.copy(Consumer<ProjectManifest.Builder> consumer) Create a copy of thisProjectManifest, allowing for modifications to take place prior via the consumedProjectManifest.Builder.booleanstatic ProjectManifestfromGson(com.inductiveautomation.ignition.common.gson.JsonElement json) Decode aJsonElementcontaining aProjectManifest.static ProjectManifestDecode a String containing a JSON-encodedProjectManifest.getTitle()inthashCode()booleanbooleanstatic ProjectManifest.BuilderCreate a newProjectManifest.Builder.Create a newProjectManifest.Builderpre-set with all the values from thisProjectManifest.static com.inductiveautomation.ignition.common.gson.JsonObjecttoGson(ProjectManifest manifest) Encode aProjectManifestinto aJsonObject.static StringtoJson(ProjectManifest manifest) Encode aProjectManifestinto a pretty-printed JSON String.
- 
Field Details- 
PROJECT_MANIFEST_FILE_NAME- See Also:
 
 
- 
- 
Constructor Details- 
ProjectManifest
 
- 
- 
Method Details- 
getTitle
- 
getDescription
- 
getParent
- 
isEnabledpublic boolean isEnabled()
- 
isInheritablepublic boolean isInheritable()
- 
copyCreate a copy of thisProjectManifest.- Returns:
- a copy of this ProjectManifest.
 
- 
copyCreate a copy of thisProjectManifest, allowing for modifications to take place prior via the consumedProjectManifest.Builder.- Parameters:
- consumer- the- ProjectManifest.Builderconsumer.
- Returns:
- a copy of this ProjectManifest.
 
- 
toBuilderCreate a newProjectManifest.Builderpre-set with all the values from thisProjectManifest.- Returns:
- a new ProjectManifest.Builderpre-set with all the values from thisProjectManifest.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
fromGsonpublic static ProjectManifest fromGson(com.inductiveautomation.ignition.common.gson.JsonElement json) Decode aJsonElementcontaining aProjectManifest.- Parameters:
- json- a- JsonElementcontaining a JSON-encoded- ProjectManifest.
- Returns:
- a ProjectManifest.
 
- 
fromJsonDecode a String containing a JSON-encodedProjectManifest.- Parameters:
- json- a String containing a JSON-encoded- ProjectManifest.
- Returns:
- a ProjectManifestdecoded fromjson.
 
- 
toGsonpublic static com.inductiveautomation.ignition.common.gson.JsonObject toGson(ProjectManifest manifest) Encode aProjectManifestinto aJsonObject.- Parameters:
- manifest- the- ProjectManifestto encode.
- Returns:
- a JsonObjectcontaining a JSON-encodedProjectManifest.
 
- 
toJsonEncode aProjectManifestinto a pretty-printed JSON String.- Parameters:
- manifest- the- ProjectManifestto encode.
- Returns:
- a pretty-printed JSON String encoding of manifest.
 
- 
newBuilderCreate a newProjectManifest.Builder.- Returns:
- a new ProjectManifest.Builder.
 
 
-