Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.validation.impl
Class ValidationContext

java.lang.Object
  extended by oracle.wsm.policy.validation.impl.ValidationContext

All Implemented Interfaces:
IValidationContext

public class ValidationContext
extends Object
implements IValidationContext

Constructor Summary
ValidationContext()
           
ValidationContext(Map<String,Object> validationConfig)
          Constructor with vaidationConfig object as input.

 

Method Summary
 void addError(IValidationError error)
          Add a new validation error message
 String getProcessingContext()
          Get the current processing context
 Map<String,Object> getValidationConfig()
           
 Object getValidationConfig(String key)
           
 List<IValidationError> getValidationErrors()
          Return a map of validation errors reported to this context The map is a error-code to error message map
 void setProcessingContext(String processingContext)
          Set the current processing context (String representation of the context)

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ValidationContext

public ValidationContext()

ValidationContext

public ValidationContext(Map<String,Object> validationConfig)
Constructor with vaidationConfig object as input. Config object has level as the only config parameter as of now. Other config parameters may be added in future based on the requirement. The allowed values for Level are "ORACLE_WSPOLICY_LEVEL" and "STANDARD_WSPOLICY_LEVEL"

Method Detail

setProcessingContext

public void setProcessingContext(String processingContext)
Description copied from interface: IValidationContext
Set the current processing context (String representation of the context)
Specified by:
setProcessingContext in interface IValidationContext

getProcessingContext

public String getProcessingContext()
Description copied from interface: IValidationContext
Get the current processing context
Specified by:
getProcessingContext in interface IValidationContext
Returns:
String - processing context

addError

public void addError(IValidationError error)
Description copied from interface: IValidationContext
Add a new validation error message
Specified by:
addError in interface IValidationContext

getValidationErrors

public List<IValidationError> getValidationErrors()
Description copied from interface: IValidationContext
Return a map of validation errors reported to this context The map is a error-code to error message map
Specified by:
getValidationErrors in interface IValidationContext
Returns:

getValidationConfig

public Object getValidationConfig(String key)
Specified by:
getValidationConfig in interface IValidationContext

getValidationConfig

public Map<String,Object> getValidationConfig()
Specified by:
getValidationConfig in interface IValidationContext

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.