public interface Request extends Serializable
Job
request.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CONTEXT |
static String |
PROPERTY_INTERACTIVE |
static String |
PROPERTY_REMOTE |
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperty(String key) |
default Map<String,Serializable> |
getContext() |
List<String> |
getId() |
<T> T |
getProperty(String key) |
<T> T |
getProperty(String key,
T def) |
Collection<String> |
getPropertyNames() |
boolean |
isInteractive() |
boolean |
isRemote() |
default Boolean |
isStatusLogIsolated() |
default Boolean |
isStatusSerialized() |
boolean |
isVerbose() |
default void |
setContext(Map<String,Serializable> context) |
static final String PROPERTY_REMOTE
isRemote()
,
Constant Field Valuesstatic final String PROPERTY_INTERACTIVE
isInteractive()
,
Constant Field Valuesstatic final String PROPERTY_CONTEXT
getContext()
,
Constant Field ValuesList<String> getId()
boolean isRemote()
boolean isInteractive()
<T> T getProperty(String key)
T
- the type of the valuekey
- the name of the property<T> T getProperty(String key, T def)
T
- the type of the valuekey
- the name of the propertydef
- the default value of the propertyCollection<String> getPropertyNames()
boolean containsProperty(String key)
key
- the name of the propertyboolean isVerbose()
default Boolean isStatusSerialized()
JobStatus.isSerialized()
default Boolean isStatusLogIsolated()
JobStatus.isIsolated()
default Map<String,Serializable> getContext()
default void setContext(Map<String,Serializable> context)
context
- the context to restore in the job thread.Copyright © 2004–2021 XWiki. All rights reserved.