Package org.ametys.runtime.plugin
Class PluginIssue
- java.lang.Object
-
- org.ametys.runtime.plugin.PluginIssue
-
public class PluginIssue extends Object
Represents an issue while initializing the plugin system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginIssue.PluginIssueCode
Issue code enumeration.
-
Field Summary
Fields Modifier and Type Field Description private Exception
_cause
private PluginIssue.PluginIssueCode
_code
private String
_featureName
private String
_location
private String
_message
private String
_pluginName
-
Constructor Summary
Constructors Constructor Description PluginIssue(String pluginName, String featureName, PluginIssue.PluginIssueCode code, String location, String message)
PluginIssue(String pluginName, String featureName, PluginIssue.PluginIssueCode code, String location, String message, Exception cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getCause()
Returns the cause of this issue, if any.PluginIssue.PluginIssueCode
getCode()
Returns the code associated with this issue.String
getFeatureName()
Returns the feature name associated with this issue, if any.String
getLocation()
Returns the location of this issue, if any.String
getMessage()
Returns the message associated with this issue.String
getPluginName()
Returns the plugin name associated with this issue, if any.String
toString()
-
-
-
Field Detail
-
_code
private PluginIssue.PluginIssueCode _code
-
_pluginName
private String _pluginName
-
_featureName
private String _featureName
-
-
Constructor Detail
-
PluginIssue
PluginIssue(String pluginName, String featureName, PluginIssue.PluginIssueCode code, String location, String message)
-
PluginIssue
PluginIssue(String pluginName, String featureName, PluginIssue.PluginIssueCode code, String location, String message, Exception cause)
-
-
Method Detail
-
getCode
public PluginIssue.PluginIssueCode getCode()
Returns the code associated with this issue.- Returns:
- the code associated with this issue.
-
getMessage
public String getMessage()
Returns the message associated with this issue.- Returns:
- the message associated with this issue.
-
getPluginName
public String getPluginName()
Returns the plugin name associated with this issue, if any.- Returns:
- the plugin name associated with this issue, if any.
-
getFeatureName
public String getFeatureName()
Returns the feature name associated with this issue, if any.- Returns:
- the feature name associated with this issue, if any.
-
getLocation
public String getLocation()
Returns the location of this issue, if any.- Returns:
- the location of this issue, if any.
-
getCause
public Exception getCause()
Returns the cause of this issue, if any.- Returns:
- the cause of this issue, if any.
-
-