public class CliAppContext extends BasicAppContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected String |
currentItemKey |
protected String |
outputKey |
protected String |
parametersKey |
currentWorkspace, LOG, repository, sessionProvider| Constructor and Description |
|---|
CliAppContext(org.exoplatform.services.jcr.core.ManageableRepository rep,
String parametersKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearOutput() |
javax.jcr.Item |
getCurrentItem() |
String |
getCurrentWorkspace() |
String |
getOutput() |
String |
getParameter(int index) |
List<String> |
getParameters() |
String |
getUserName() |
void |
setCurrentItem(javax.jcr.Item item) |
void |
setOutput(String output) |
getSession, setCurrentWorkspaceclear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesprotected final String currentItemKey
protected final String parametersKey
protected final String outputKey
public CliAppContext(org.exoplatform.services.jcr.core.ManageableRepository rep,
String parametersKey)
throws NamingException
NamingExceptionpublic String getUserName()
public String getCurrentWorkspace()
public String getParameter(int index) throws ParameterNotFoundException
ParameterNotFoundExceptionpublic void setCurrentItem(javax.jcr.Item item)
public javax.jcr.Item getCurrentItem()
public String getOutput()
public void setOutput(String output)
public void clearOutput()
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.