public class NutsWorkspaceUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NutsWorkspaceUtils.Events |
public static NutsWorkspaceUtils of(NutsSession ws)
public static NutsSession defaultSession(NutsWorkspace ws)
ws - workspacepublic static void checkSession(NutsWorkspace ws, NutsSession session)
public static void checkNutsIdBase(NutsWorkspace ws, NutsId id)
public static boolean setSession(Object o, NutsSession session)
protected NutsLoggerOp _LOGOP(NutsSession session)
protected NutsLogger _LOG(NutsSession session)
public NutsRepositorySPI repoSPI(NutsRepository repo)
public ReflectRepository getReflectRepository()
public void checkReadOnly()
public NutsFetchCommand validateSession(NutsFetchCommand fetch)
public NutsSession validateSession(NutsSession session)
public NutsSession validateSilentSession(NutsSession session)
public List<NutsRepository> _getEnabledRepositories(NutsRepositoryFilter repositoryFilter)
public List<NutsRepository> filterRepositoriesDeploy(NutsId id, NutsRepositoryFilter repositoryFilter)
public List<NutsRepositoryAndFetchMode> filterRepositoryAndFetchModes(NutsRepositorySupportedAction fmode, NutsId id, NutsRepositoryFilter repositoryFilter, NutsFetchStrategy fetchStrategy, NutsSession session)
public void checkSimpleNameNutsId(NutsId id)
public void checkLongNameNutsId(NutsId id, NutsSession session)
public void validateRepositoryName(String repositoryName, Set<String> registered, NutsSession session)
public NutsIdFormat getIdFormat()
public NutsDescriptorFormat getDescriptorFormat()
public <T> Iterator<T> decoratePrint(Iterator<T> it, NutsSession session, NutsFetchDisplayOptions displayOptions)
public NutsDescriptor getEffectiveDescriptor(NutsDefinition def)
public void checkNutsId(NutsId id)
public NutsWorkspaceUtils.Events events()
public void traceMessage(NutsFetchStrategy fetchMode, NutsId id, NutsLogVerb tracePhase, String message, long startTime)
public NutsExecutionEntry parseClassExecutionEntry(InputStream classStream, String sourceName)
public 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.