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