public class NWorkspaceExtAdapter extends AbstractNWorkspace implements NWorkspaceExt
| Constructor and Description |
|---|
NWorkspaceExtAdapter(NWorkspaceExt baseExt) |
addInstallListener, addPropertyListener, addRepositoryListener, addWorkspaceListener, callWith, getInstallListeners, getPropertyListeners, getRepositoryListeners, getWorkspaceListeners, isSharedInstance, removeInstallListener, removePropertyListener, removeRepositoryListener, removeWorkspaceListener, runWith, setSharedInstance, share, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, ofcall, get, of, runpublic NWorkspaceExtAdapter(NWorkspaceExt baseExt)
public NBootOptionsInfo getCallerBootOptionsInfo()
getCallerBootOptionsInfo in interface NWorkspaceExtpublic NScopedValue<NSession> sessionScopes()
sessionScopes in interface NWorkspaceExtpublic Map<String,String> getSysEnv()
getSysEnv in interface NWorkspaceExtpublic NApp getApp()
getApp in interface NWorkspaceExtpublic NWorkspaceStore store()
store in interface NWorkspaceExtpublic NText getWelcomeText()
getWelcomeText in interface NWorkspaceExtpublic NText getHelpText()
getHelpText in interface NWorkspaceExtpublic NText getLicenseText()
getLicenseText in interface NWorkspaceExtpublic NText resolveDefaultHelp(Class<?> clazz)
resolveDefaultHelp in interface NWorkspaceExtpublic NId resolveEffectiveId(NDescriptor descriptor)
resolveEffectiveId in interface NWorkspaceExtpublic NIdType resolveNutsIdType(NId id)
resolveNutsIdType in interface NWorkspaceExtpublic NInstallerComponent getInstaller(NDefinition nutToInstall)
getInstaller in interface NWorkspaceExtpublic boolean requiresRuntimeExtension()
NWorkspaceExtNutsConstants.ENV_KEY_EXCLUDE_RUNTIME_EXTENSION is forced to
falserequiresRuntimeExtension in interface NWorkspaceExtpublic NInstalledRepository getInstalledRepository()
getInstalledRepository in interface NWorkspaceExtpublic NInstallStatus getInstallStatus(NId id, boolean checkDependencies)
getInstallStatus in interface NWorkspaceExtpublic NExecutionContextBuilder createExecutionContext()
createExecutionContext in interface NWorkspaceExtpublic void deployBoot(NId def, boolean withDependencies)
deployBoot in interface NWorkspaceExtpublic NSession defaultSession()
defaultSession in interface NWorkspaceExtpublic NWorkspaceModel getModel()
getModel in interface NWorkspaceExtpublic String getInstallationDigest()
getInstallationDigest in interface NWorkspaceExtpublic void setInstallationDigest(String value)
setInstallationDigest in interface NWorkspaceExtpublic DefaultNRepositoryModel getRepositoryModel()
getRepositoryModel in interface NWorkspaceExtpublic DefaultCustomCommandsModel getCommandModel()
getCommandModel in interface NWorkspaceExtpublic DefaultNWorkspaceConfigModel getConfigModel()
getConfigModel in interface NWorkspaceExtpublic DefaultImportModel getImportModel()
getImportModel in interface NWorkspaceExtpublic NDependencySolver createDependencySolver(String solverName)
createDependencySolver in interface NWorkspaceExtpublic List<String> getDependencySolverNames()
getDependencySolverNames in interface NWorkspaceExtpublic DefaultNWorkspaceLocationModel getLocationModel()
getLocationModel in interface NWorkspaceExtpublic NDescriptor resolveEffectiveDescriptor(NDescriptor descriptor, NDescriptorEffectiveConfig effectiveNDescriptorConfig)
resolveEffectiveDescriptor in interface NWorkspacepublic void runApplication(NApplicationHandleMode handleMode)
runApplication in interface NWorkspacepublic NDescriptor resolveEffectiveDescriptor(NDescriptor descriptor)
resolveEffectiveDescriptor in interface NWorkspacepublic String getUuid()
getUuid in interface NWorkspacepublic String getName()
getName in interface NWorkspacepublic String getDigestName()
getDigestName in interface NWorkspacepublic NVersion getApiVersion()
getApiVersion in interface NWorkspacepublic NVersion getBootVersion()
getBootVersion in interface NWorkspacepublic NId getApiId()
getApiId in interface NWorkspacepublic NId getAppId()
getAppId in interface NWorkspacepublic NId getRuntimeId()
getRuntimeId in interface NWorkspacepublic NPath getLocation()
getLocation in interface NWorkspacepublic NSession createSession()
createSession in interface NWorkspacepublic NSession currentSession()
currentSession in interface NWorkspacepublic NExtensions extensions()
extensions in interface NWorkspacepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface NWorkspaceclose in class AbstractNWorkspacepublic NRepository addRepository(NRepositorySpec options)
addRepository in interface NWorkspacepublic NRepository addRepository(String repositoryNamedUrl)
addRepository in interface NWorkspacepublic NOptional<NRepository> findRepositoryById(String repositoryIdOrName)
findRepositoryById in interface NWorkspacepublic NOptional<NRepository> findRepositoryByName(String repositoryIdOrName)
findRepositoryByName in interface NWorkspacepublic NOptional<NRepository> getRepository(String repositoryIdOrName)
getRepository in interface NWorkspacepublic NWorkspace removeRepository(String locationOrRepositoryId)
removeRepository in interface NWorkspacepublic List<NRepository> getRepositories()
getRepositories in interface NWorkspacepublic NWorkspace removeAllRepositories()
removeAllRepositories in interface NWorkspacepublic Map<String,Object> getProperties()
getProperties in interface NWorkspacepublic NOptional<Object> getProperty(String property)
getProperty in interface NWorkspacepublic <T> NOptional<T> getProperty(Class<T> propertyTypeAndName)
getProperty in interface NWorkspacepublic NWorkspace setProperty(String property, Object value)
setProperty in interface NWorkspacepublic <T> T getOrComputeProperty(Class<T> property, Supplier<T> supplier)
getOrComputeProperty in interface NWorkspacepublic <T> T getOrComputeProperty(String property, Supplier<T> supplier)
getOrComputeProperty in interface NWorkspacepublic String getPid()
getPid in interface NWorkspacepublic void addLauncher(NLauncherOptions launcher)
addLauncher in interface NWorkspacepublic List<String> buildEffectiveCommand(String[] cmd, NRunAs runAsMode, Set<NDesktopEnvironmentFamily> de, Function<String,String> sysWhich, Boolean gui, String rootName, String userName, String[] executorOptions)
buildEffectiveCommand in interface NWorkspacepublic NPath getHomeLocation(NStoreType folderType)
getHomeLocation in interface NWorkspacepublic NStoreStrategy getStoreStrategy()
getStoreStrategy in interface NWorkspacepublic NWorkspace setStoreStrategy(NStoreStrategy strategy)
setStoreStrategy in interface NWorkspacepublic NStoreStrategy getRepositoryStoreStrategy()
getRepositoryStoreStrategy in interface NWorkspacepublic NOsFamily getStoreLayout()
getStoreLayout in interface NWorkspacepublic NWorkspace setStoreLayout(NOsFamily storeLayout)
setStoreLayout in interface NWorkspacepublic Map<NStoreType,String> getStoreLocations()
getStoreLocations in interface NWorkspacepublic String getDefaultIdFilename(NId id)
getDefaultIdFilename in interface NWorkspacepublic NPath getDefaultIdBasedir(NId id)
getDefaultIdBasedir in interface NWorkspacepublic String getDefaultIdContentExtension(String packaging)
getDefaultIdContentExtension in interface NWorkspacepublic String getDefaultIdExtension(NId id)
getDefaultIdExtension in interface NWorkspacepublic Map<NHomeLocation,String> getHomeLocations()
getHomeLocations in interface NWorkspacepublic NPath getHomeLocation(NHomeLocation location)
getHomeLocation in interface NWorkspacepublic NPath getWorkspaceLocation()
getWorkspaceLocation in interface NWorkspacepublic NWorkspace setStoreLocation(NStoreType folderType, String location)
setStoreLocation in interface NWorkspacepublic NWorkspace setHomeLocation(NHomeLocation homeType, String location)
setHomeLocation in interface NWorkspacepublic NOptional<String> findSysCommand(String name)
findSysCommand in interface NWorkspacepublic NWorkspace addImports(String... importExpression)
addImports in interface NWorkspacepublic NWorkspace clearImports()
clearImports in interface NWorkspacepublic NWorkspace removeImports(String... importExpression)
removeImports in interface NWorkspacepublic NWorkspace updateImports(String[] imports)
updateImports in interface NWorkspacepublic Set<String> getAllImports()
getAllImports in interface NWorkspacepublic boolean isImportedGroupId(String groupId)
isImportedGroupId in interface NWorkspacepublic NWorkspaceStoredConfig getStoredConfig()
getStoredConfig in interface NWorkspacepublic boolean isReadOnly()
isReadOnly in interface NWorkspacepublic boolean saveConfig(boolean force)
saveConfig in interface NWorkspacepublic boolean saveConfig()
saveConfig in interface NWorkspacepublic NWorkspaceBootConfig loadBootConfig(String path, boolean global, boolean followLinks)
loadBootConfig in interface NWorkspacepublic boolean isSupportedRepositoryType(String repositoryType)
isSupportedRepositoryType in interface NWorkspacepublic List<NRepositorySpec> getDefaultRepositories()
getDefaultRepositories in interface NWorkspacepublic Set<String> getAvailableArchetypes()
getAvailableArchetypes in interface NWorkspacepublic NPath resolveRepositoryPath(String repositoryLocation)
resolveRepositoryPath in interface NWorkspacepublic NIndexStoreFactory getIndexStoreClientFactory()
getIndexStoreClientFactory in interface NWorkspacepublic String getJavaCommand()
getJavaCommand in interface NWorkspacepublic String getJavaOptions()
getJavaOptions in interface NWorkspacepublic boolean isSystemWorkspace()
isSystemWorkspace in interface NWorkspacepublic Map<String,String> getConfigMap()
getConfigMap in interface NWorkspacepublic NOptional<NLiteral> getConfigProperty(String property)
getConfigProperty in interface NWorkspacepublic NWorkspace setConfigProperty(String property, String value)
setConfigProperty in interface NWorkspacepublic List<NCommandFactoryConfig> getCommandFactories()
getCommandFactories in interface NWorkspacepublic void addCommandFactory(NCommandFactoryConfig commandFactory)
addCommandFactory in interface NWorkspacepublic void removeCommandFactory(String commandFactoryId)
removeCommandFactory in interface NWorkspacepublic boolean removeCommandFactoryIfExists(String commandFactoryId)
removeCommandFactoryIfExists in interface NWorkspacepublic boolean commandExists(String command)
commandExists in interface NWorkspacepublic boolean commandFactoryExists(String command)
commandFactoryExists in interface NWorkspacepublic boolean addCommand(NCommandConfig command)
addCommand in interface NWorkspacepublic boolean updateCommand(NCommandConfig command)
updateCommand in interface NWorkspacepublic void removeCommand(String command)
removeCommand in interface NWorkspacepublic boolean removeCommandIfExists(String name)
removeCommandIfExists in interface NWorkspacepublic NCustomCmd findCommand(String name, NId forId, NId forOwner)
findCommand in interface NWorkspacepublic NCustomCmd findCommand(String name)
findCommand in interface NWorkspacepublic List<NCustomCmd> findAllCommands()
findAllCommands in interface NWorkspacepublic List<NCustomCmd> findCommandsByOwner(NId id)
findCommandsByOwner in interface NWorkspacepublic boolean isFirstBoot()
isFirstBoot in interface NWorkspacepublic NOptional<NLiteral> getCustomBootOption(String... names)
getCustomBootOption in interface NWorkspacepublic NBootOptions getBootOptions()
getBootOptions in interface NWorkspacepublic ClassLoader getBootClassLoader()
getBootClassLoader in interface NWorkspacepublic List<URL> getBootClassWorldURLs()
getBootClassWorldURLs in interface NWorkspacepublic List<String> getBootRepositories()
getBootRepositories in interface NWorkspacepublic Instant getCreationStartTime()
getCreationStartTime in interface NWorkspacepublic Instant getCreationFinishTime()
getCreationFinishTime in interface NWorkspacepublic NDuration getCreationDuration()
getCreationDuration in interface NWorkspacepublic NClassLoaderNode getBootRuntimeClassLoaderNode()
getBootRuntimeClassLoaderNode in interface NWorkspacepublic List<NClassLoaderNode> getBootExtensionClassLoaderNodes()
getBootExtensionClassLoaderNodes in interface NWorkspacepublic NWorkspaceTerminalOptions getBootTerminal()
getBootTerminal in interface NWorkspacepublic void runBootCommand()
runBootCommand in interface NWorkspaceBaseCopyright © 2026 vpc open source initiative. All rights reserved.