Class ActionRefreshComments
- java.lang.Object
-
- com.zendesk.sdk.deeplinking.actions.Action<ActionRefreshComments.ActionRefreshCommentsListener,ActionRefreshComments.ActionRefreshCommentsData>
-
- com.zendesk.sdk.deeplinking.actions.ActionRefreshComments
-
public class ActionRefreshComments extends Action<ActionRefreshComments.ActionRefreshCommentsListener,ActionRefreshComments.ActionRefreshCommentsData>
An implementation of anActionthat is used to reload the comment stream in a visibleViewRequestFragment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classActionRefreshComments.ActionRefreshCommentsDatastatic interfaceActionRefreshComments.ActionRefreshCommentsListener
-
Constructor Summary
Constructors Constructor and Description ActionRefreshComments(java.lang.String requestId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancanHandleData(ActionRefreshComments.ActionRefreshCommentsData data)Check if this action is able to handle the given data.voidexecute(ActionRefreshComments.ActionRefreshCommentsListener refreshCommentsAction, ActionRefreshComments.ActionRefreshCommentsData data)Execute the action-
Methods inherited from class com.zendesk.sdk.deeplinking.actions.Action
getActionData, getActionType
-
-
-
-
Method Detail
-
execute
public void execute(ActionRefreshComments.ActionRefreshCommentsListener refreshCommentsAction, ActionRefreshComments.ActionRefreshCommentsData data)
Description copied from class:ActionExecute the action- Specified by:
executein classAction<ActionRefreshComments.ActionRefreshCommentsListener,ActionRefreshComments.ActionRefreshCommentsData>- Parameters:
refreshCommentsAction- The given action handlerdata- The given action data
-
canHandleData
public boolean canHandleData(ActionRefreshComments.ActionRefreshCommentsData data)
Description copied from class:ActionCheck if this action is able to handle the given data.- Specified by:
canHandleDatain classAction<ActionRefreshComments.ActionRefreshCommentsListener,ActionRefreshComments.ActionRefreshCommentsData>- Parameters:
data- The given action data- Returns:
- True if the action can handle the given data, false if not
-
-