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 anAction
that is used to reload the comment stream in a visibleViewRequestFragment
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
ActionRefreshComments.ActionRefreshCommentsData
static interface
ActionRefreshComments.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 boolean
canHandleData(ActionRefreshComments.ActionRefreshCommentsData data)
Check if this action is able to handle the given data.void
execute(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:Action
Execute the action- Specified by:
execute
in 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:Action
Check if this action is able to handle the given data.- Specified by:
canHandleData
in classAction<ActionRefreshComments.ActionRefreshCommentsListener,ActionRefreshComments.ActionRefreshCommentsData>
- Parameters:
data
- The given action data- Returns:
- True if the action can handle the given data, false if not
-
-