public class DefaultNInstallInfo extends Object implements net.thevpc.nuts.NInstallInformation
| Constructor and Description |
|---|
DefaultNInstallInfo(net.thevpc.nuts.NId id,
net.thevpc.nuts.NInstallStatus installStatus,
net.thevpc.nuts.io.NPath installFolder,
Instant createdDate,
Instant lasModifiedDate,
String installUser,
String sourceRepositoryName,
String sourceRepositoryUUID,
boolean justInstalled,
boolean justRequired) |
DefaultNInstallInfo(net.thevpc.nuts.NInstallInformation other) |
public DefaultNInstallInfo(net.thevpc.nuts.NId id,
net.thevpc.nuts.NInstallStatus installStatus,
net.thevpc.nuts.io.NPath installFolder,
Instant createdDate,
Instant lasModifiedDate,
String installUser,
String sourceRepositoryName,
String sourceRepositoryUUID,
boolean justInstalled,
boolean justRequired)
public DefaultNInstallInfo(net.thevpc.nuts.NInstallInformation other)
public static DefaultNInstallInfo notInstalled(net.thevpc.nuts.NId id)
public net.thevpc.nuts.NId getId()
getId in interface net.thevpc.nuts.NInstallInformationpublic Instant getCreatedInstant()
getCreatedInstant in interface net.thevpc.nuts.NInstallInformationpublic Instant getLastModifiedInstant()
getLastModifiedInstant in interface net.thevpc.nuts.NInstallInformationpublic boolean isDefaultVersion()
isDefaultVersion in interface net.thevpc.nuts.NInstallInformationpublic net.thevpc.nuts.io.NPath getInstallFolder()
getInstallFolder in interface net.thevpc.nuts.NInstallInformationpublic boolean isWasInstalled()
isWasInstalled in interface net.thevpc.nuts.NInstallInformationpublic DefaultNInstallInfo setWasInstalled(boolean wasInstalled)
public boolean isWasRequired()
isWasRequired in interface net.thevpc.nuts.NInstallInformationpublic String getInstallUser()
getInstallUser in interface net.thevpc.nuts.NInstallInformationpublic net.thevpc.nuts.NInstallStatus getInstallStatus()
getInstallStatus in interface net.thevpc.nuts.NInstallInformationpublic boolean isInstalledOrRequired()
isInstalledOrRequired in interface net.thevpc.nuts.NInstallInformationpublic String getSourceRepositoryName()
getSourceRepositoryName in interface net.thevpc.nuts.NInstallInformationpublic String getSourceRepositoryUUID()
getSourceRepositoryUUID in interface net.thevpc.nuts.NInstallInformationpublic DefaultNInstallInfo setSourceRepositoryUUID(String sourceRepositoryUUID)
public DefaultNInstallInfo setSourceRepositoryName(String sourceRepositoryName)
public DefaultNInstallInfo setInstallStatus(net.thevpc.nuts.NInstallStatus installStatus)
public DefaultNInstallInfo setInstallUser(String installUser)
public DefaultNInstallInfo setWasRequired(boolean wasRequired)
public DefaultNInstallInfo setInstallFolder(net.thevpc.nuts.io.NPath installFolder)
public DefaultNInstallInfo setCreatedDate(Instant createdDate)
public DefaultNInstallInfo setId(net.thevpc.nuts.NId id)
public boolean isJustReInstalled()
isJustReInstalled in interface net.thevpc.nuts.NInstallInformationpublic boolean isJustInstalled()
isJustInstalled in interface net.thevpc.nuts.NInstallInformationpublic boolean isJustReRequired()
isJustReRequired in interface net.thevpc.nuts.NInstallInformationpublic boolean isJustRequired()
isJustRequired in interface net.thevpc.nuts.NInstallInformationpublic DefaultNInstallInfo setLasModifiedDate(Instant lasModifiedDate)
public DefaultNInstallInfo setJustInstalled(boolean justInstalled)
public DefaultNInstallInfo setJustRequired(boolean justRequired)
Copyright © 2025 vpc open source initiative. All rights reserved.