|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.delta.AbstractTask info.magnolia.module.delta.AddUserToGroupTask
public class AddUserToGroupTask
A task to add a user to a group, using UserManager
.
Field Summary |
---|
Fields inherited from class info.magnolia.module.delta.AbstractTask |
---|
log |
Constructor Summary | |
---|---|
AddUserToGroupTask(java.lang.String taskName,
java.lang.String username,
java.lang.String groupname)
|
Method Summary | |
---|---|
void |
execute(InstallContext ctx)
A good-citizen task should execute itself responsibly: it should know what to do in case of problems: for instance, fixable or irrelevant issues should usually just be logged used the InstallContext methods, when the user can fix them later on. |
Methods inherited from class info.magnolia.module.delta.AbstractTask |
---|
getDescription, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AddUserToGroupTask(java.lang.String taskName, java.lang.String username, java.lang.String groupname)
Method Detail |
---|
public void execute(InstallContext ctx) throws TaskExecutionException
Task
TaskExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |