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