public class Status extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Status.State
state can have values
active, blocked or deleted. |
| Constructor and Description |
|---|
Status() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getReason()
reason is a reason explaining why a media object has been blocked/deleted.
|
Status.State |
getState()
state can have values
active, blocked or deleted. |
int |
hashCode() |
void |
setReason(String reason)
reason is a reason explaining why a media object has been blocked/deleted.
|
void |
setState(Status.State state)
state can have values
active, blocked or deleted. |
String |
toString() |
public Status.State getState()
active, blocked or deleted.
active means a media object is active in the system, blocked means a media object is blocked by
the publisher, deleted means a media object has been deleted by the publisher.public void setState(Status.State state)
active, blocked or deleted.
active means a media object is active in the system, blocked means a media object is blocked by
the publisher, deleted means a media object has been deleted by the publisher.state - the statepublic String getReason()
public void setReason(String reason)
reason - plain text or URLCopyright © 2021. All rights reserved.