| Modifier and Type | Method and Description |
|---|---|
Resource.State |
Resource.state()
Returns the current resource state.
|
Resource.State |
AbstractResource.state() |
static Resource.State |
Resource.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource.State[] |
Resource.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<Resource.State> |
Resource.onStateChange(Consumer<Resource.State> callback)
Registers a resource state change listener.
|
Listener<Resource.State> |
AbstractResource.onStateChange(Consumer<Resource.State> callback) |
| Modifier and Type | Method and Description |
|---|---|
Listener<Resource.State> |
Resource.onStateChange(Consumer<Resource.State> callback)
Registers a resource state change listener.
|
Listener<Resource.State> |
AbstractResource.onStateChange(Consumer<Resource.State> callback) |
Copyright © 2013–2016. All rights reserved.