public class DefaultPluginActionResult extends Object implements IPluginActionResult
setRedirect(String) : if the action need a redirect
setHtmlContent(String) : if the action needs to display html content
setNoop(boolean) : if no post-action is required (mainly for exports writing directly to the response).
| Constructor and Description |
|---|
DefaultPluginActionResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHtmlContent()
Returns the html content if any,
null otherwise |
String |
getRedirect()
Returns the redirect url,
null otherwise. |
boolean |
isNoop()
Returns
true if no operation needed, false otherwise. |
void |
setHtmlContent(String strHtmlContent)
Sets the html content if any,
null otherwise |
void |
setNoop(boolean bNoop)
Set to
true if no operation needed, false otherwise. |
void |
setRedirect(String strRedirect)
Sets the redirect url,
null otherwise. |
public String getRedirect()
null otherwise.getRedirect in interface IPluginActionResultnull otherwisepublic void setRedirect(String strRedirect)
null otherwise.setRedirect in interface IPluginActionResultstrRedirect - the redirect url, null otherwise.public boolean isNoop()
true if no operation needed, false otherwise.isNoop in interface IPluginActionResulttrue if no operation needed, false otherwise.public void setNoop(boolean bNoop)
true if no operation needed, false otherwise.setNoop in interface IPluginActionResultbNoop - true if no operation needed, false otherwise.public String getHtmlContent()
null otherwisegetHtmlContent in interface IPluginActionResultnull otherwisepublic void setHtmlContent(String strHtmlContent)
null otherwisesetHtmlContent in interface IPluginActionResultstrHtmlContent - the html content if any, null otherwiseCopyright © 2020 City of Paris. All rights reserved.