public class DocResource extends AbstractResource<ResourceTypeImpl>
Modifier and Type | Field and Description |
---|---|
protected List<OperationDocumentation> |
ops |
protected AutomationService |
service |
Constructor and Description |
---|
DocResource() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canManageTraces() |
Object |
doGet(String id,
String browse) |
String |
doGetTrace(String opId) |
Object |
doGetWiki() |
String[] |
getInputs(OperationDocumentation op) |
String |
getInputsAsString(OperationDocumentation op) |
String[] |
getOutputs(OperationDocumentation op) |
String |
getOutputsAsString(OperationDocumentation op) |
String |
getParamDefaultValue(OperationDocumentation.Param param) |
protected Template |
getTemplateFor(String browse) |
protected Template |
getTemplateView(String name) |
boolean |
hasOperation(OperationDocumentation op) |
void |
initialize(Object... args) |
boolean |
isTraceEnabled() |
Object |
toggleStackDisplay() |
Object |
toggleTraces() |
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
protected AutomationService service
protected List<OperationDocumentation> ops
public DocResource()
public void initialize(Object... args)
initialize
in class AbstractResource<ResourceTypeImpl>
protected Template getTemplateFor(String browse)
protected Template getTemplateView(String name)
protected boolean canManageTraces()
public boolean isTraceEnabled()
public Object toggleTraces()
public Object toggleStackDisplay()
public String doGetTrace(String opId)
public String[] getInputs(OperationDocumentation op)
public String[] getOutputs(OperationDocumentation op)
public String getInputsAsString(OperationDocumentation op)
public String getOutputsAsString(OperationDocumentation op)
public String getParamDefaultValue(OperationDocumentation.Param param)
public boolean hasOperation(OperationDocumentation op)
Copyright © 2016 Nuxeo SA. All rights reserved.