P
- the instance identifier path typeE
- the GenericEntity typepublic class GenericEntityOwnershipChange<P extends org.opendaylight.yangtools.concepts.Path<P>,E extends GenericEntity<P>> extends Object
Constructor and Description |
---|
GenericEntityOwnershipChange(E entity,
@NonNull EntityOwnershipChangeState state) |
GenericEntityOwnershipChange(E entity,
@NonNull EntityOwnershipChangeState state,
boolean inJeopardy) |
Modifier and Type | Method and Description |
---|---|
E |
getEntity()
Returns the entity whose ownership status changed.
|
@NonNull EntityOwnershipChangeState |
getState()
Returns the ownership change state.
|
boolean |
inJeopardy()
Returns the current jeopardy state.
|
String |
toString() |
public GenericEntityOwnershipChange(E entity, @NonNull EntityOwnershipChangeState state)
public GenericEntityOwnershipChange(E entity, @NonNull EntityOwnershipChangeState state, boolean inJeopardy)
public E getEntity()
public @NonNull EntityOwnershipChangeState getState()
public boolean inJeopardy()
Copyright © 2019 OpenDaylight. All rights reserved.