| Modifier and Type | Field and Description |
|---|---|
protected AuthorizationRepository |
authorizationRepository |
protected Authorizations |
authorizations |
protected Configuration |
configuration |
static boolean |
DEFAULT_INIT_FRAMEWORK |
protected boolean |
frameworkInitialized |
protected Graph |
graph |
protected com.beust.jcommander.JCommander |
jCommander |
protected LifeSupportService |
lifeSupportService |
protected LockRepository |
lockRepository |
protected BcLogger |
LOGGER |
protected PrivilegeRepository |
privilegeRepository |
protected SchemaRepository |
schemaRepository |
protected SimpleOrmSession |
simpleOrmSession |
static String |
THREAD_NAME |
protected User |
user |
protected UserRepository |
userRepository |
protected VisibilityTranslator |
visibilityTranslator |
protected boolean |
willExit |
protected WorkQueueRepository |
workQueueRepository |
| Constructor and Description |
|---|
CommandLineTool() |
public static final String THREAD_NAME
protected BcLogger LOGGER
public static final boolean DEFAULT_INIT_FRAMEWORK
protected Configuration configuration
protected boolean willExit
protected UserRepository userRepository
protected AuthorizationRepository authorizationRepository
protected Authorizations authorizations
protected PrivilegeRepository privilegeRepository
protected LockRepository lockRepository
protected User user
protected Graph graph
protected WorkQueueRepository workQueueRepository
protected SchemaRepository schemaRepository
protected VisibilityTranslator visibilityTranslator
protected SimpleOrmSession simpleOrmSession
protected LifeSupportService lifeSupportService
protected com.beust.jcommander.JCommander jCommander
protected boolean frameworkInitialized
protected void initializeFramework()
protected void printHelp(com.beust.jcommander.JCommander j)
protected com.beust.jcommander.JCommander parseArguments(String[] args)
protected void shutdown()
protected Configuration getConfiguration()
protected User getUser()
protected Authorizations getAuthorizations()
protected boolean willExit()
@Inject public void setLockRepository(LockRepository lockRepository)
@Inject public final void setUserRepository(UserRepository userRepository)
@Inject public void setAuthorizationRepository(AuthorizationRepository authorizationRepository)
@Inject public void setPrivilegeRepository(PrivilegeRepository privilegeRepository)
@Inject public final void setGraph(Graph graph)
@Inject public final void setWorkQueueRepository(WorkQueueRepository workQueueRepository)
@Inject public final void setSchemaRepository(SchemaRepository schemaRepository)
@Inject public final void setSimpleOrmSession(SimpleOrmSession simpleOrmSession)
@Inject public void setLifeSupportService(LifeSupportService lifeSupportService)
public SimpleOrmSession getSimpleOrmSession()
public Graph getGraph()
public WorkQueueRepository getWorkQueueRepository()
public UserRepository getUserRepository()
public AuthorizationRepository getAuthorizationRepository()
public PrivilegeRepository getPrivilegeRepository()
public SchemaRepository getSchemaRepository()
public VisibilityTranslator getVisibilityTranslator()
public LifeSupportService getLifeSupportService()
@Inject public void setVisibilityTranslator(VisibilityTranslator visibilityTranslator)
public static void main(CommandLineTool commandLineTool, String[] args, boolean initFramework) throws Exception
Exceptionpublic static void main(CommandLineTool commandLineTool, String[] args) throws Exception
ExceptionCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.