public enum Verb extends Enum<Verb>
Enum Constant and Description |
---|
JOIN
The "join" Verb indicates that the actor has become a member of the Object.
|
MAKE_FRIEND
The "make friend" Verb indicates the creation of a friendship that is reciprocated by the
object.
|
MARK_AS_FAVORITE
The "mark as favorite" Verb indicates that the Subject marked the Object as an item of
special interest.
|
MARK_AS_LIKED
The "mark as liked" verb indicates that the actor indicated that it likes the object.
|
PLAY
The "play" verb indicates that the subject spent some time enjoying the object.
|
POST
The "Post" Verb is described in section 8 of the AtomActivity specification.
|
RSVP_MAYBE
The "possible RSVP" verb indicates that the actor has made a possible RSVP for the object.
|
RSVP_NO
The "negative RSVP" verb indicates that the actor has made a negative RSVP for the object.
|
RSVP_YES
The "positive RSVP" verb indicates that the actor has made a positive RSVP for the object.
|
SAVE
The "save" Verb indicates that the Subject has called out the Object as being of interest
primarily to him- or herself.
|
SHARE
The "share" Verb indicates that the Subject has called out the Object to readers.
|
START_FOLLOWING
The "start following" Verb indicates that the Subject began following the activity of the
Object.
|
TAG
The "tag" verb indicates that the actor has identified the presence of a target inside
another object.
|
UPDATE
The "update" Verb indicates that the Subject has modified the referenced Object.
|
Modifier and Type | Method and Description |
---|---|
static Verb |
fromIRI(String iri) |
String |
toString() |
static Verb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Verb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Verb MARK_AS_FAVORITE
public static final Verb START_FOLLOWING
public static final Verb MARK_AS_LIKED
public static final Verb MAKE_FRIEND
public static final Verb JOIN
public static final Verb PLAY
public static final Verb POST
public static final Verb SAVE
public static final Verb SHARE
public static final Verb TAG
public static final Verb UPDATE
public static final Verb RSVP_YES
The "positive RSVP" verb indicates that the actor has made a positive RSVP for the object. This specification only defines the meaning of this verb when its object is an event (see Section 4.2.1 (Event)), though implementors SHOULD be prepared to handle other object types as meaning MAY be provided by extension specifications.
The use of this Verb is only appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as an attendee by an event organiser or administrator.
The verb URI for the "positive RSVP" Verb is http://activitystrea.ms/schema/1.0/rsvp-yes.
public static final Verb RSVP_MAYBE
The "possible RSVP" verb indicates that the actor has made a possible RSVP for the object. This specification only defines the meaning of this verb when its object is an event (see Section 4.2.1 (Event)), though implementors SHOULD be prepared to handle other object types as meaning MAY be provided by extension specifications.
The use of this Verb is only appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as an attendee by an event organiser or administrator.
The verb URI for the "possible RSVP" Verb is http://activitystrea.ms/schema/1.0/rsvp-maybe.
public static final Verb RSVP_NO
The "negative RSVP" verb indicates that the actor has made a negative RSVP for the object. This specification only defines the meaning of this verb when its object is an event (see Section 4.2.1 (Event)), though implementors SHOULD be prepared to handle other object types as meaning MAY be provided by extension specifications.
The use of this Verb is only appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as an attendee by an event organiser or administrator.
The verb URI for the "negative RSVP" Verb is http://activitystrea.ms/schema/1.0/rsvp-no.
public static Verb[] values()
for (Verb c : Verb.values()) System.out.println(c);
public static Verb valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.