Package ro.sync.ecss.extensions.api
Class ErrorResolverContextInfo
java.lang.Object
ro.sync.ecss.extensions.api.ErrorResolverContextInfo
Class that contains some information about the current error.
-
Constructor Summary
ConstructorsConstructorDescriptionErrorResolverContextInfo
(AuthorAccess authorAccess) Constructor.ErrorResolverContextInfo
(AuthorAccess authorAccess, AuthorNode contextNode) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionObtain the author access.Get the error context node.void
setAuthorAccess
(AuthorAccess authorAccess) Sets the author access.void
setContextNode
(AuthorNode contextNode) Set the error context node.
-
Constructor Details
-
ErrorResolverContextInfo
Constructor.- Parameters:
authorAccess
- TheAuthorAccess
.
-
ErrorResolverContextInfo
Constructor.- Parameters:
authorAccess
- TheAuthorAccess
.contextNode
- The error context node.
-
-
Method Details
-
getAuthorAccess
Obtain the author access.- Returns:
- Returns the author access.
-
setAuthorAccess
Sets the author access.- Parameters:
authorAccess
- The new author access.
-
getContextNode
Get the error context node.- Returns:
- Returns the error context node.
-
setContextNode
Set the error context node.- Parameters:
contextNode
- The error context node.
-