public class DefaultNutsInstalledRepository extends AbstractNutsRepository implements NutsInstalledRepository, NutsRepositoryExt0
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTALLED_REPO_UUID |
available, configModel, enabled, extensions, initSession, parentRepository, securityModel, supportedDeploy, userProperties, workspace| Constructor and Description |
|---|
DefaultNutsInstalledRepository(net.thevpc.nuts.NutsWorkspace ws,
CoreNutsBootOptions bOptions) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
void |
addLog(NutsInstallLogAction action,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsId requestor,
String message,
boolean succeeded,
net.thevpc.nuts.NutsSession session) |
void |
addString(net.thevpc.nuts.NutsId id,
String name,
String value,
net.thevpc.nuts.NutsSession session) |
boolean |
contains(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsDeployRepositoryCommand |
deploy() |
net.thevpc.nuts.spi.NutsFetchContentRepositoryCommand |
fetchContent() |
net.thevpc.nuts.spi.NutsFetchDescriptorRepositoryCommand |
fetchDescriptor() |
net.thevpc.nuts.NutsStream<NutsInstallLogRecord> |
findLog(net.thevpc.nuts.NutsSession session) |
String |
getDefaultVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
InstallInfoConfig |
getInstallInfoConfig(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsPath path,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallInformation |
getInstallInformation(InstallInfoConfig ii,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallInformation |
getInstallInformation(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallStatus |
getInstallStatus(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getPath(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallInformation |
install(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session) |
void |
install(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId forId) |
boolean |
isAcceptFetchMode(net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session) |
boolean |
isDefaultVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
boolean |
isRemote() |
net.thevpc.nuts.NutsId |
pathToId(net.thevpc.nuts.NutsPath path,
net.thevpc.nuts.NutsSession session) |
void |
printJson(net.thevpc.nuts.NutsId id,
String name,
InstallInfoConfig value,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsPushRepositoryCommand |
push() |
<T> T |
readJson(net.thevpc.nuts.NutsId id,
String name,
Class<T> clazz,
net.thevpc.nuts.NutsSession session) |
void |
remove(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallInformation |
require(net.thevpc.nuts.NutsDefinition def,
boolean deploy,
net.thevpc.nuts.NutsId[] forIds,
net.thevpc.nuts.NutsDependencyScope scope,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsSearchRepositoryCommand |
search() |
net.thevpc.nuts.NutsIterator<InstallInfoConfig> |
searchInstallConfig(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsInstallInformation> |
searchInstallInformation(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsSearchVersionsRepositoryCommand |
searchVersions() |
net.thevpc.nuts.NutsRepositorySecurityManager |
security() |
void |
setDefaultVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsRepositoryUndeployCommand |
undeploy() |
void |
uninstall(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session) |
void |
unrequire(net.thevpc.nuts.NutsId requiredId,
net.thevpc.nuts.NutsId requestorId,
net.thevpc.nuts.NutsDependencyScope scope,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsUpdateRepositoryStatisticsCommand |
updateStatistics() |
addRepositoryListener, addUserPropertyListener, config, getIdBasedir, getIdExtension, getIdFilename, getName, getParentRepository, getRepositoryListeners, getRepositoryType, getUserProperties, getUserPropertyListeners, getUuid, getWorkspace, isAvailable, isAvailable, isAvailableImpl, isEnabled, isSupportedDeploy, isSupportedDeploy, isSupportedDeployImpl, removeRepositoryListener, removeUserPropertyListener, setEnabled, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRepositoryListener, addUserPropertyListener, config, getName, getParentRepository, getRepositoryListeners, getRepositoryType, getUserProperties, getUserPropertyListeners, getUuid, getWorkspace, isAvailable, isAvailable, isEnabled, isSupportedDeploy, isSupportedDeploy, removeRepositoryListener, removeUserPropertyListener, setEnabledgetIdBasedir, getIdFilename, ofpublic static final String INSTALLED_REPO_UUID
public DefaultNutsInstalledRepository(net.thevpc.nuts.NutsWorkspace ws,
CoreNutsBootOptions bOptions)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public boolean isDefaultVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
isDefaultVersion in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsInstallInformation> searchInstallInformation(net.thevpc.nuts.NutsSession session)
searchInstallInformation in interface NutsInstalledRepositorypublic String getDefaultVersion(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
getDefaultVersion in interface NutsInstalledRepositorypublic void setDefaultVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
setDefaultVersion in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsInstallInformation getInstallInformation(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
getInstallInformation in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsInstallStatus getInstallStatus(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
getInstallStatus in interface NutsInstalledRepositorypublic void install(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId forId)
install in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsInstallInformation install(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session)
install in interface NutsInstalledRepositorypublic void uninstall(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session)
uninstall in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsInstallInformation require(net.thevpc.nuts.NutsDefinition def,
boolean deploy,
net.thevpc.nuts.NutsId[] forIds,
net.thevpc.nuts.NutsDependencyScope scope,
net.thevpc.nuts.NutsSession session)
require in interface NutsInstalledRepositorypublic void unrequire(net.thevpc.nuts.NutsId requiredId,
net.thevpc.nuts.NutsId requestorId,
net.thevpc.nuts.NutsDependencyScope scope,
net.thevpc.nuts.NutsSession session)
unrequire in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsStream<NutsInstallLogRecord> findLog(net.thevpc.nuts.NutsSession session)
findLog in interface NutsInstalledRepositorypublic net.thevpc.nuts.NutsId pathToId(net.thevpc.nuts.NutsPath path,
net.thevpc.nuts.NutsSession session)
public InstallInfoConfig getInstallInfoConfig(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsPath path, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsIterator<InstallInfoConfig> searchInstallConfig(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsInstallInformation getInstallInformation(InstallInfoConfig ii, net.thevpc.nuts.NutsSession session)
public void addString(net.thevpc.nuts.NutsId id,
String name,
String value,
net.thevpc.nuts.NutsSession session)
public <T> T readJson(net.thevpc.nuts.NutsId id,
String name,
Class<T> clazz,
net.thevpc.nuts.NutsSession session)
public void printJson(net.thevpc.nuts.NutsId id,
String name,
InstallInfoConfig value,
net.thevpc.nuts.NutsSession session)
public void remove(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session)
public boolean contains(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getPath(net.thevpc.nuts.NutsId id,
String name,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsRepositorySecurityManager security()
security in interface net.thevpc.nuts.NutsRepositorysecurity in interface net.thevpc.nuts.spi.NutsRepositorySPIsecurity in class AbstractNutsRepositorypublic net.thevpc.nuts.spi.NutsDeployRepositoryCommand deploy()
deploy in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsRepositoryUndeployCommand undeploy()
undeploy in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsPushRepositoryCommand push()
push in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsFetchDescriptorRepositoryCommand fetchDescriptor()
fetchDescriptor in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsFetchContentRepositoryCommand fetchContent()
fetchContent in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsSearchRepositoryCommand search()
search in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsSearchVersionsRepositoryCommand searchVersions()
searchVersions in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsUpdateRepositoryStatisticsCommand updateStatistics()
updateStatistics in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic boolean isAcceptFetchMode(net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session)
isAcceptFetchMode in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic boolean isRemote()
isRemote in interface net.thevpc.nuts.NutsRepositorypublic void addLog(NutsInstallLogAction action, net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsId requestor, String message, boolean succeeded, net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.