public class Workmanager<T extends Workmanager> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Workmanager.WorkmanagerResources
Child mutators for Workmanager
|
| Constructor and Description |
|---|
Workmanager(String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
T |
longRunningThreads(List<LongRunningThreads> value)
Add all LongRunningThreads objects to this subresource
|
T |
longRunningThreads(LongRunningThreads value)
Add the LongRunningThreads object to the list of subresources
|
String |
name()
The name of the WorkManager
|
T |
name(String value)
The name of the WorkManager
|
T |
shortRunningThreads(List<ShortRunningThreads> value)
Add all ShortRunningThreads objects to this subresource
|
T |
shortRunningThreads(ShortRunningThreads value)
Add the ShortRunningThreads object to the list of subresources
|
Workmanager.WorkmanagerResources |
subresources() |
public Workmanager(String key)
public String getKey()
public String name()
public Workmanager.WorkmanagerResources subresources()
public T longRunningThreads(List<LongRunningThreads> value)
value - List of LongRunningThreads objects.public T longRunningThreads(LongRunningThreads value)
value - The LongRunningThreads to addpublic T shortRunningThreads(List<ShortRunningThreads> value)
value - List of ShortRunningThreads objects.public T shortRunningThreads(ShortRunningThreads value)
value - The ShortRunningThreads to addCopyright © 2015 JBoss by Red Hat. All rights reserved.