Class ErrorResolverContextInfo

java.lang.Object
ro.sync.ecss.extensions.api.ErrorResolverContextInfo

@API(type=EXTENDABLE, src=PUBLIC) public class ErrorResolverContextInfo extends Object
Class that contains some information about the current error.
  • Constructor Details

    • ErrorResolverContextInfo

      public ErrorResolverContextInfo(AuthorAccess authorAccess)
      Constructor.
      Parameters:
      authorAccess - The AuthorAccess.
    • ErrorResolverContextInfo

      public ErrorResolverContextInfo(AuthorAccess authorAccess, AuthorNode contextNode)
      Constructor.
      Parameters:
      authorAccess - The AuthorAccess.
      contextNode - The error context node.
  • Method Details

    • 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.