Package org.wildfly.prospero.api
Class ArtifactChange
- java.lang.Object
-
- org.wildfly.prospero.api.Diff
-
- org.wildfly.prospero.api.ArtifactChange
-
public class ArtifactChange extends Diff
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.prospero.api.Diff
Diff.Status
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArtifactChangeadded(org.eclipse.aether.artifact.Artifact newVersion)StringgetArtifactName()Optional<String>getNewVersion()Optional<String>getOldVersion()booleanisDowngrade()booleanisInstalled()booleanisRemoved()booleanisUpdated()StringprettyPrint()static ArtifactChangeremoved(org.eclipse.aether.artifact.Artifact oldVersion)static ArtifactChangeupdated(org.eclipse.aether.artifact.Artifact oldVersion, org.eclipse.aether.artifact.Artifact newVersion)-
Methods inherited from class org.wildfly.prospero.api.Diff
getChild, getChildren, getName, getNewValue, getOldValue, getStatus, toString
-
-
-
-
Method Detail
-
added
public static ArtifactChange added(org.eclipse.aether.artifact.Artifact newVersion)
-
removed
public static ArtifactChange removed(org.eclipse.aether.artifact.Artifact oldVersion)
-
updated
public static ArtifactChange updated(org.eclipse.aether.artifact.Artifact oldVersion, org.eclipse.aether.artifact.Artifact newVersion)
-
getArtifactName
public String getArtifactName()
-
isDowngrade
public boolean isDowngrade()
-
isInstalled
public boolean isInstalled()
-
isRemoved
public boolean isRemoved()
-
isUpdated
public boolean isUpdated()
-
prettyPrint
public String prettyPrint()
-
-