public class NutsWorkspaceUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NutsWorkspaceUtils.Events |
| Modifier and Type | Method and Description |
|---|---|
List<net.thevpc.nuts.NutsRepository> |
_getEnabledRepositories(net.thevpc.nuts.NutsRepositoryFilter repositoryFilter) |
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
void |
checkLongNameNutsId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
void |
checkNutsId(net.thevpc.nuts.NutsId id) |
static void |
checkNutsIdBase(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsId id) |
void |
checkReadOnly() |
static void |
checkSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session) |
void |
checkSimpleNameNutsId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsId |
configureFetchEnv(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsId |
createSdkId(String type,
String version) |
<T> Iterator<T> |
decoratePrint(Iterator<T> it,
net.thevpc.nuts.NutsSession session,
NutsFetchDisplayOptions displayOptions) |
static net.thevpc.nuts.NutsSession |
defaultSession(net.thevpc.nuts.NutsWorkspace ws)
used only for exceptions and logger when a session is not available
|
NutsWorkspaceUtils.Events |
events() |
List<net.thevpc.nuts.NutsRepository> |
filterRepositoriesDeploy(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsRepositoryFilter repositoryFilter) |
List<NutsRepositoryAndFetchMode> |
filterRepositoryAndFetchModes(NutsRepositorySupportedAction fmode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsRepositoryFilter repositoryFilter,
net.thevpc.nuts.NutsFetchStrategy fetchStrategy,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptorFormat |
getDescriptorFormat() |
net.thevpc.nuts.NutsDescriptor |
getEffectiveDescriptor(net.thevpc.nuts.NutsDefinition def) |
net.thevpc.nuts.NutsIdFormat |
getIdFormat() |
ReflectRepository |
getReflectRepository() |
static NutsWorkspaceUtils |
of(net.thevpc.nuts.NutsSession ws) |
InputStream |
openURL(String o) |
InputStream |
openURL(URL o) |
net.thevpc.nuts.NutsExecutionEntry |
parseClassExecutionEntry(InputStream classStream,
String sourceName) |
net.thevpc.nuts.NutsExecutionEntry[] |
parseJarExecutionEntries(InputStream jarStream,
String sourceName) |
net.thevpc.nuts.spi.NutsRepositorySPI |
repoSPI(net.thevpc.nuts.NutsRepository repo) |
static boolean |
setSession(Object o,
net.thevpc.nuts.NutsSession session) |
void |
traceMessage(net.thevpc.nuts.NutsFetchStrategy fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String message,
long startTime) |
void |
validateRepositoryName(String repositoryName,
Set<String> registered,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsFetchCommand |
validateSession(net.thevpc.nuts.NutsFetchCommand fetch) |
net.thevpc.nuts.NutsSession |
validateSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSession |
validateSilentSession(net.thevpc.nuts.NutsSession session) |
public static NutsWorkspaceUtils of(net.thevpc.nuts.NutsSession ws)
public static net.thevpc.nuts.NutsSession defaultSession(net.thevpc.nuts.NutsWorkspace ws)
ws - workspacepublic static void checkSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session)
public static void checkNutsIdBase(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsId id)
public static boolean setSession(Object o, net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.spi.NutsRepositorySPI repoSPI(net.thevpc.nuts.NutsRepository repo)
public ReflectRepository getReflectRepository()
public void checkReadOnly()
public net.thevpc.nuts.NutsFetchCommand validateSession(net.thevpc.nuts.NutsFetchCommand fetch)
public net.thevpc.nuts.NutsSession validateSession(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsSession validateSilentSession(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsId configureFetchEnv(net.thevpc.nuts.NutsId id)
public List<net.thevpc.nuts.NutsRepository> _getEnabledRepositories(net.thevpc.nuts.NutsRepositoryFilter repositoryFilter)
public List<net.thevpc.nuts.NutsRepository> filterRepositoriesDeploy(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsRepositoryFilter repositoryFilter)
public List<NutsRepositoryAndFetchMode> filterRepositoryAndFetchModes(NutsRepositorySupportedAction fmode, net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsRepositoryFilter repositoryFilter, net.thevpc.nuts.NutsFetchStrategy fetchStrategy, net.thevpc.nuts.NutsSession session)
public void checkSimpleNameNutsId(net.thevpc.nuts.NutsId id)
public void checkLongNameNutsId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public void validateRepositoryName(String repositoryName, Set<String> registered, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsIdFormat getIdFormat()
public net.thevpc.nuts.NutsDescriptorFormat getDescriptorFormat()
public <T> Iterator<T> decoratePrint(Iterator<T> it, net.thevpc.nuts.NutsSession session, NutsFetchDisplayOptions displayOptions)
public net.thevpc.nuts.NutsDescriptor getEffectiveDescriptor(net.thevpc.nuts.NutsDefinition def)
public void checkNutsId(net.thevpc.nuts.NutsId id)
public NutsWorkspaceUtils.Events events()
public void traceMessage(net.thevpc.nuts.NutsFetchStrategy fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String message,
long startTime)
public net.thevpc.nuts.NutsExecutionEntry parseClassExecutionEntry(InputStream classStream, String sourceName)
public net.thevpc.nuts.NutsExecutionEntry[] parseJarExecutionEntries(InputStream jarStream, String sourceName)
public InputStream openURL(String o)
public InputStream openURL(URL o)
Copyright © 2021 vpc open source initiative. All rights reserved.