public final class DefaultNutsUpdateResult extends Object implements net.thevpc.nuts.NutsUpdateResult
| Constructor and Description |
|---|
DefaultNutsUpdateResult() |
DefaultNutsUpdateResult(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDefinition installed,
net.thevpc.nuts.NutsDefinition available,
net.thevpc.nuts.NutsId[] dependencies,
boolean runtime) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsDefinition |
getAvailable() |
net.thevpc.nuts.NutsId[] |
getDependencies() |
net.thevpc.nuts.NutsId |
getId() |
net.thevpc.nuts.NutsDefinition |
getInstalled() |
boolean |
isInstalled() |
boolean |
isRuntime() |
boolean |
isUpdatable() |
boolean |
isUpdateApplied() |
boolean |
isUpdateForced() |
boolean |
isUpdateStatusAvailable() |
boolean |
isUpdateVersionAvailable() |
void |
setAvailable(net.thevpc.nuts.NutsDefinition available) |
void |
setId(net.thevpc.nuts.NutsId id) |
void |
setInstalled(net.thevpc.nuts.NutsDefinition installed) |
void |
setUpdateApplied(boolean updateApplied) |
void |
setUpdateForced(boolean updateForced) |
void |
setUpdateStatusAvailable(boolean updateStatus) |
void |
setUpdateVersionAvailable(boolean updateVersion) |
public DefaultNutsUpdateResult()
public DefaultNutsUpdateResult(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDefinition installed,
net.thevpc.nuts.NutsDefinition available,
net.thevpc.nuts.NutsId[] dependencies,
boolean runtime)
public boolean isInstalled()
isInstalled in interface net.thevpc.nuts.NutsUpdateResultpublic boolean isRuntime()
public net.thevpc.nuts.NutsId getId()
getId in interface net.thevpc.nuts.NutsUpdateResultpublic net.thevpc.nuts.NutsDefinition getInstalled()
getInstalled in interface net.thevpc.nuts.NutsUpdateResultpublic net.thevpc.nuts.NutsDefinition getAvailable()
getAvailable in interface net.thevpc.nuts.NutsUpdateResultpublic net.thevpc.nuts.NutsId[] getDependencies()
getDependencies in interface net.thevpc.nuts.NutsUpdateResultpublic boolean isUpdateApplied()
isUpdateApplied in interface net.thevpc.nuts.NutsUpdateResultpublic void setUpdateApplied(boolean updateApplied)
public boolean isUpdateForced()
isUpdateForced in interface net.thevpc.nuts.NutsUpdateResultpublic void setUpdateForced(boolean updateForced)
public boolean isUpdatable()
isUpdatable in interface net.thevpc.nuts.NutsUpdateResultpublic boolean isUpdateVersionAvailable()
isUpdateVersionAvailable in interface net.thevpc.nuts.NutsUpdateResultpublic void setUpdateVersionAvailable(boolean updateVersion)
public boolean isUpdateStatusAvailable()
isUpdateStatusAvailable in interface net.thevpc.nuts.NutsUpdateResultpublic void setUpdateStatusAvailable(boolean updateStatus)
public void setInstalled(net.thevpc.nuts.NutsDefinition installed)
public void setAvailable(net.thevpc.nuts.NutsDefinition available)
public void setId(net.thevpc.nuts.NutsId id)
Copyright © 2022 vpc open source initiative. All rights reserved.