public interface MemberReplaceable
Modifier and Type | Field and Description |
---|---|
static MethodEffector<java.lang.String> |
REPLACE_MEMBER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
replaceMember(java.lang.String memberId)
Replaces the entity with the given ID, if it is a member.
|
static final MethodEffector<java.lang.String> REPLACE_MEMBER
java.lang.String replaceMember(java.lang.String memberId)
First adds a new member, then removes this one.
memberId
- entity id of a member to be replacedjava.util.NoSuchElementException
- If entity cannot be resolved, or it is not a memberStopFailedRuntimeException
- If stop failed, after successfully starting replacement