public class DefaultNutsWorkspace extends AbstractNutsWorkspace implements NutsWorkspaceExt
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsWorkspace.InstallStrategy0 |
bootModel, initializing, initSessionCUSTOM_SUPPORT, DEFAULT_SUPPORT, NO_SUPPORT| Constructor and Description |
|---|
DefaultNutsWorkspace(NutsWorkspaceInitInformation info) |
createSession, defaultSession, isInitializingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultSession, ofpublic static final String VERSION_INSTALL_INFO_CONFIG
public static final String VERSION_SDK_LOCATION
public static final String VERSION_REPOSITORY_CONFIG
public static final String VERSION_REPOSITORY_REF
public static final String VERSION_WS_CONFIG_API
public static final String VERSION_WS_CONFIG_BOOT
public static final String VERSION_WS_CONFIG_MAIN
public static final String VERSION_WS_CONFIG_RUNTIME
public static final String VERSION_WS_CONFIG_SECURITY
public static final String VERSION_COMMAND_ALIAS_CONFIG
public static final String VERSION_COMMAND_ALIAS_CONFIG_FACTORY
public static final String VERSION_USER_CONFIG
public NutsLogger LOG
protected DefaultNutsWorkspaceSecurityModel securityModel
protected DefaultNutsFilterModel filtersModel
protected DefaultNutsWorkspaceConfigModel configModel
protected DefaultNutsWorkspaceLocationModel locationsModel
protected DefaultNutsRepositoryModel repositoryModel
protected DefaultNutsWorkspaceEventModel eventsModel
protected DefaultNutsTextManagerModel textModel
protected DefaultNutsIOModel ioModel
protected DefaultNutsSdkModel sdkModel
protected DefaultNutsTerminalModel termModel
protected String uuid
protected String location
protected String name
protected NutsVersion apiVersion
protected NutsId apiId
protected NutsId runtimeId
public DefaultNutsWorkspace(NutsWorkspaceInitInformation info)
public void installCompanions(NutsSession session)
protected NutsDescriptor _resolveEffectiveDescriptor(NutsDescriptor descriptor, NutsSession session)
public int getSupportLevel(NutsSupportLevelContext<NutsWorkspaceOptions> criteria)
getSupportLevel in interface NutsComponent<NutsWorkspaceOptions>getSupportLevel in class AbstractNutsWorkspacepublic String toString()
toString in class AbstractNutsWorkspaceprotected void initializeWorkspace(String archetype, NutsSession session)
public void installOrUpdateImpl(NutsDefinition def, String[] args, NutsInstallerComponent installerComponent, NutsSession session, boolean resolveInstaller, boolean updateDefaultVersion, DefaultNutsWorkspace.InstallStrategy0 strategy0, boolean requireDependencies, NutsId[] forIds, NutsDependencyScope scope)
public String resolveCommandName(NutsId id, NutsSession session)
protected boolean loadWorkspace(NutsSession session, String[] excludedExtensions, String[] excludedRepositories)
public String getWelcomeText(NutsSession session)
getWelcomeText in interface NutsWorkspaceExtpublic String getHelpText(NutsSession session)
getHelpText in interface NutsWorkspaceExtpublic String getLicenseText(NutsSession session)
getLicenseText in interface NutsWorkspaceExtpublic String resolveDefaultHelp(Class clazz, NutsSession session)
resolveDefaultHelp in interface NutsWorkspaceExtpublic NutsId resolveEffectiveId(NutsDescriptor descriptor, NutsSession session)
resolveEffectiveId in interface NutsWorkspaceExtpublic NutsIdType resolveNutsIdType(NutsId id, NutsSession session)
resolveNutsIdType in interface NutsWorkspaceExtpublic NutsInstallerComponent getInstaller(NutsDefinition nutToInstall, NutsSession session)
getInstaller in interface NutsWorkspaceExtpublic void requireImpl(NutsDefinition def, NutsSession session, boolean withDependencies, NutsId[] forId)
requireImpl in interface NutsWorkspaceExtpublic void installImpl(NutsDefinition def, String[] args, NutsInstallerComponent installerComponent, NutsSession session, boolean updateDefaultVersion)
installImpl in interface NutsWorkspaceExtpublic void updateImpl(NutsDefinition def, String[] args, NutsInstallerComponent installerComponent, NutsSession session, boolean updateDefaultVersion)
updateImpl in interface NutsWorkspaceExtpublic boolean requiresRuntimeExtension(NutsSession session)
NutsConstants.ENV_KEY_EXCLUDE_RUNTIME_EXTENSION is forced to
falserequiresRuntimeExtension in interface NutsWorkspaceExtsession - sessionpublic NutsDescriptor resolveEffectiveDescriptor(NutsDescriptor descriptor, NutsSession session)
resolveEffectiveDescriptor in interface NutsWorkspaceExtpublic NutsInstalledRepository getInstalledRepository()
getInstalledRepository in interface NutsWorkspaceExtpublic NutsInstallStatus getInstallStatus(NutsId id, boolean checkDependencies, NutsSession session)
getInstallStatus in interface NutsWorkspaceExtpublic NutsExecutionContextBuilder createExecutionContext()
createExecutionContext in interface NutsWorkspaceExtpublic void deployBoot(NutsSession session, NutsId id, boolean withDependencies)
deployBoot in interface NutsWorkspaceExtpublic String getUuid()
getUuid in interface NutsWorkspacepublic String getName()
getName in interface NutsWorkspacepublic String getHashName()
getHashName in interface NutsWorkspacepublic NutsVersion getApiVersion()
getApiVersion in interface NutsWorkspacepublic NutsId getApiId()
getApiId in interface NutsWorkspacepublic NutsId getRuntimeId()
getRuntimeId in interface NutsWorkspacepublic String getLocation()
getLocation in interface NutsWorkspacepublic Set<NutsId> getCompanionIds(NutsSession session)
getCompanionIds in interface NutsWorkspacepublic NutsSearchCommand search()
search in interface NutsWorkspacepublic NutsFetchCommand fetch()
fetch in interface NutsWorkspacepublic NutsDeployCommand deploy()
deploy in interface NutsWorkspacepublic NutsUndeployCommand undeploy()
undeploy in interface NutsWorkspacepublic NutsExecCommand exec()
exec in interface NutsWorkspacepublic NutsInstallCommand install()
install in interface NutsWorkspacepublic NutsUninstallCommand uninstall()
uninstall in interface NutsWorkspacepublic NutsUpdateCommand update()
update in interface NutsWorkspacepublic NutsPushCommand push()
push in interface NutsWorkspacepublic NutsUpdateStatisticsCommand updateStatistics()
updateStatistics in interface NutsWorkspacepublic NutsWorkspaceAppsManager apps()
apps in interface NutsWorkspacepublic NutsWorkspaceExtensionManager extensions()
extensions in interface NutsWorkspacepublic NutsWorkspaceConfigManager config()
config in interface NutsWorkspacepublic NutsRepositoryManager repos()
repos in interface NutsWorkspacepublic NutsWorkspaceSecurityManager security()
security in interface NutsWorkspacepublic NutsFilterManager filters()
filters in interface NutsWorkspacepublic NutsIOManager io()
io in interface NutsWorkspacepublic NutsLogManager log()
log in interface NutsWorkspacepublic NutsWorkspaceEventManager events()
events in interface NutsWorkspacepublic NutsCommandLineManager commandLine()
commandLine in interface NutsWorkspacepublic NutsIdManager id()
id in interface NutsWorkspacepublic NutsVersionManager version()
version in interface NutsWorkspacepublic NutsInfoFormat info()
info in interface NutsWorkspacepublic NutsDescriptorManager descriptor()
descriptor in interface NutsWorkspacepublic NutsDependencyManager dependency()
dependency in interface NutsWorkspacepublic NutsFormatManager formats()
formats in interface NutsWorkspacepublic NutsConcurrentManager concurrent()
concurrent in interface NutsWorkspacepublic NutsSdkManager sdks()
sdks in interface NutsWorkspacepublic NutsImportManager imports()
imports in interface NutsWorkspacepublic NutsCustomCommandManager commands()
commands in interface NutsWorkspacepublic NutsWorkspaceLocationManager locations()
locations in interface NutsWorkspacepublic NutsWorkspaceEnvManager env()
env in interface NutsWorkspacepublic NutsBootManager boot()
boot in interface NutsWorkspacepublic NutsTerminalManager term()
term in interface NutsWorkspacepublic NutsTextManager text()
text in interface NutsWorkspacepublic NutsElementFormat elem()
elem in interface NutsWorkspacepublic DefaultNutsWorkspaceEnvManagerModel getEnvModel()
public DefaultCustomCommandsModel getAliasesModel()
public DefaultNutsWorkspaceConfigModel getConfigModel()
public DefaultImportModel getImportModel()
Copyright © 2021 vpc open source initiative. All rights reserved.