@Component @Named(value="filter") @Singleton public class FilterScriptService extends AbstractFilterScriptService
Modifier and Type | Field and Description |
---|---|
static String |
ROLEHINT |
execution, EXTENSIONERROR_KEY, scriptProvider
Constructor and Description |
---|
FilterScriptService() |
Modifier and Type | Method and Description |
---|---|
org.xwiki.job.Job |
convert(org.xwiki.filter.type.FilterStreamType inputType,
Map<String,Object> inputProperties,
org.xwiki.filter.type.FilterStreamType outputType,
boolean folded,
Map<String,Object> outputProperties) |
org.xwiki.job.Job |
convert(org.xwiki.filter.type.FilterStreamType inputType,
Map<String,Object> inputProperties,
org.xwiki.filter.type.FilterStreamType outputType,
Map<String,Object> outputProperties) |
org.xwiki.filter.output.OutputStreamOutputTarget |
createOutputStreamOutputTarget(OutputStream stream,
boolean autoclose) |
org.xwiki.script.service.ScriptService |
get(String id) |
Collection<org.xwiki.filter.type.FilterStreamType> |
getAvailableInputStreams() |
Collection<org.xwiki.filter.type.FilterStreamType> |
getAvailableOutputStreams() |
org.xwiki.job.Job |
getCurrentJob() |
org.xwiki.filter.descriptor.FilterStreamDescriptor |
getInputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType) |
org.xwiki.filter.input.InputFilterStreamFactory |
getInputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType inputType) |
org.xwiki.filter.descriptor.FilterStreamDescriptor |
getOutputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType) |
org.xwiki.filter.output.OutputFilterStreamFactory |
getOutputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType outputType) |
org.xwiki.job.Job |
startConvert(org.xwiki.filter.type.FilterStreamType inputType,
Map<String,Object> inputProperties,
org.xwiki.filter.type.FilterStreamType outputType,
boolean folded,
Map<String,Object> outputProperties) |
org.xwiki.job.Job |
startConvert(org.xwiki.filter.type.FilterStreamType inputType,
Map<String,Object> inputProperties,
org.xwiki.filter.type.FilterStreamType outputType,
Map<String,Object> outputProperties) |
getLastError, resetError, safe, setError
public static final String ROLEHINT
public org.xwiki.script.service.ScriptService get(String id)
public org.xwiki.job.Job startConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)
public org.xwiki.job.Job startConvert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)
public org.xwiki.job.Job convert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, Map<String,Object> outputProperties)
public org.xwiki.job.Job convert(org.xwiki.filter.type.FilterStreamType inputType, Map<String,Object> inputProperties, org.xwiki.filter.type.FilterStreamType outputType, boolean folded, Map<String,Object> outputProperties)
public org.xwiki.job.Job getCurrentJob()
public Collection<org.xwiki.filter.type.FilterStreamType> getAvailableInputStreams()
public Collection<org.xwiki.filter.type.FilterStreamType> getAvailableOutputStreams()
public org.xwiki.filter.descriptor.FilterStreamDescriptor getInputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)
public org.xwiki.filter.descriptor.FilterStreamDescriptor getOutputFilterStreamDescriptor(org.xwiki.filter.type.FilterStreamType inputType)
public org.xwiki.filter.input.InputFilterStreamFactory getInputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType inputType)
public org.xwiki.filter.output.OutputFilterStreamFactory getOutputFilterStreamFactory(org.xwiki.filter.type.FilterStreamType outputType)
public org.xwiki.filter.output.OutputStreamOutputTarget createOutputStreamOutputTarget(OutputStream stream, boolean autoclose)
Copyright © 2004–2019 XWiki. All rights reserved.