|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.taskqueue.TaskOptions.Builder
public static final class TaskOptions.Builder
Provides static creation methods for TaskOptions
.
Method Summary | |
---|---|
static TaskOptions |
withCountdownMillis(long countdownMillis)
Returns default TaskOptions and calls TaskOptions.countdownMillis(long) . |
static TaskOptions |
withDefaults()
Returns default TaskOptions with default values. |
static TaskOptions |
withEtaMillis(long etaMillis)
Returns default TaskOptions and calls TaskOptions.etaMillis(long) . |
static TaskOptions |
withHeader(java.lang.String headerName,
java.lang.String value)
Returns default TaskOptions and calls TaskOptions.header(String, String) . |
static TaskOptions |
withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Returns default TaskOptions and calls TaskOptions.headers(Map) . |
static TaskOptions |
withMethod(TaskOptions.Method method)
Returns default TaskOptions and calls TaskOptions.method(Method) . |
static TaskOptions |
withParam(java.lang.String paramName,
byte[] value)
Returns default TaskOptions and calls TaskOptions.param(String, byte[]) . |
static TaskOptions |
withParam(java.lang.String paramName,
java.lang.String value)
Returns default TaskOptions and calls TaskOptions.param(String, String) . |
static TaskOptions |
withPayload(byte[] payload,
java.lang.String contentType)
Returns default TaskOptions and calls TaskOptions.payload(byte[], String) . |
static TaskOptions |
withPayload(DeferredTask deferredTask)
Returns default TaskOptions and calls TaskOptions.payload(DeferredTask) . |
static TaskOptions |
withPayload(java.lang.String payload)
Returns default TaskOptions and calls TaskOptions.payload(String) . |
static TaskOptions |
withPayload(java.lang.String payload,
java.lang.String charset)
Returns default TaskOptions and calls TaskOptions.payload(String, String) . |
static TaskOptions |
withRetryOptions(RetryOptions retryOptions)
Returns default TaskOptions and calls
TaskOptions.retryOptions(RetryOptions) . |
static TaskOptions |
withTag(byte[] tag)
Returns default TaskOptions and calls TaskOptions#tag(tag) . |
static TaskOptions |
withTag(java.lang.String tag)
Returns default TaskOptions and calls TaskOptions#tag(tag) . |
static TaskOptions |
withTaskName(java.lang.String taskName)
Returns default TaskOptions and calls TaskOptions.taskName(String) . |
static TaskOptions |
withUrl(java.lang.String url)
Returns default TaskOptions and calls TaskOptions.url(String) . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TaskOptions withTaskName(java.lang.String taskName)
TaskOptions
and calls TaskOptions.taskName(String)
.
public static TaskOptions withPayload(java.lang.String payload, java.lang.String charset)
TaskOptions
and calls TaskOptions.payload(String, String)
.
public static TaskOptions withPayload(DeferredTask deferredTask)
TaskOptions
and calls TaskOptions.payload(DeferredTask)
.
public static TaskOptions withPayload(byte[] payload, java.lang.String contentType)
TaskOptions
and calls TaskOptions.payload(byte[], String)
.
public static TaskOptions withPayload(java.lang.String payload)
TaskOptions
and calls TaskOptions.payload(String)
.
public static TaskOptions withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
TaskOptions
and calls TaskOptions.headers(Map)
.
public static TaskOptions withHeader(java.lang.String headerName, java.lang.String value)
TaskOptions
and calls TaskOptions.header(String, String)
.
public static TaskOptions withMethod(TaskOptions.Method method)
TaskOptions
and calls TaskOptions.method(Method)
.
public static TaskOptions withParam(java.lang.String paramName, java.lang.String value)
TaskOptions
and calls TaskOptions.param(String, String)
.
public static TaskOptions withParam(java.lang.String paramName, byte[] value)
TaskOptions
and calls TaskOptions.param(String, byte[])
.
public static TaskOptions withUrl(java.lang.String url)
TaskOptions
and calls TaskOptions.url(String)
.
public static TaskOptions withCountdownMillis(long countdownMillis)
TaskOptions
and calls TaskOptions.countdownMillis(long)
.
public static TaskOptions withEtaMillis(long etaMillis)
TaskOptions
and calls TaskOptions.etaMillis(long)
.
public static TaskOptions withRetryOptions(RetryOptions retryOptions)
TaskOptions
and calls
TaskOptions.retryOptions(RetryOptions)
.
public static TaskOptions withTag(byte[] tag)
TaskOptions
and calls TaskOptions#tag(tag)
.
public static TaskOptions withTag(java.lang.String tag)
TaskOptions
and calls TaskOptions#tag(tag)
.
public static TaskOptions withDefaults()
TaskOptions
with default values.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |