Package ro.sync.ecss.extensions.api
Class ErrorResolverContextInfo
- java.lang.Object
-
- ro.sync.ecss.extensions.api.ErrorResolverContextInfo
-
@API(type=EXTENDABLE, src=PUBLIC) public class ErrorResolverContextInfo extends java.lang.Object
Class that contains some information about the current error.
-
-
Constructor Summary
Constructors Constructor Description ErrorResolverContextInfo(AuthorAccess authorAccess)
Constructor.ErrorResolverContextInfo(AuthorAccess authorAccess, AuthorNode contextNode)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorAccess
getAuthorAccess()
Obtain the author access.AuthorNode
getContextNode()
Get the error context node.void
setAuthorAccess(AuthorAccess authorAccess)
Sets the author access.void
setContextNode(AuthorNode contextNode)
Set the error context node.
-
-
-
Constructor Detail
-
ErrorResolverContextInfo
public ErrorResolverContextInfo(AuthorAccess authorAccess)
Constructor.- Parameters:
authorAccess
- TheAuthorAccess
.
-
ErrorResolverContextInfo
public ErrorResolverContextInfo(AuthorAccess authorAccess, AuthorNode contextNode)
Constructor.- Parameters:
authorAccess
- TheAuthorAccess
.contextNode
- The error context node.
-
-
Method Detail
-
getAuthorAccess
public AuthorAccess getAuthorAccess()
Obtain the author access.- Returns:
- Returns the author access.
-
setAuthorAccess
public void setAuthorAccess(AuthorAccess authorAccess)
Sets the author access.- Parameters:
authorAccess
- The new author access.
-
getContextNode
public AuthorNode getContextNode()
Get the error context node.- Returns:
- Returns the error context node.
-
setContextNode
public void setContextNode(AuthorNode contextNode)
Set the error context node.- Parameters:
contextNode
- The error context node.
-
-