com.evolveum.midpoint.common.validator
Class Validator

java.lang.Object
  extended by com.evolveum.midpoint.common.validator.Validator

public class Validator
extends java.lang.Object

Author:
Radovan Semancik

Constructor Summary
Validator(PrismContext prismContext)
           
Validator(PrismContext prismContext, EventHandler handler)
           
 
Method Summary
 boolean getAllowAnyType()
           
 long getErrors()
           
 EventHandler getHandler()
           
 PrismContext getPrismContext()
           
 long getProgress()
           
 long getStopAfterErrors()
           
 boolean getValidateSchema()
           
 boolean getVerbose()
           
 void setAllowAnyType(boolean allowAnyType)
           
 void setHandler(EventHandler handler)
           
 void setStopAfterErrors(long stopAfterErrors)
           
 void setValidateSchema(boolean validateSchemas)
           
 void setVerbose(boolean verbose)
           
 void validate(java.io.InputStream inputStream, OperationResult validatorResult, java.lang.String objectResultOperationName)
           
 void validateObject(Objectable object, OperationResult objectResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

public Validator(PrismContext prismContext)

Validator

public Validator(PrismContext prismContext,
                 EventHandler handler)
Method Detail

getHandler

public EventHandler getHandler()

setHandler

public void setHandler(EventHandler handler)

getPrismContext

public PrismContext getPrismContext()

getVerbose

public boolean getVerbose()

setVerbose

public void setVerbose(boolean verbose)

setValidateSchema

public void setValidateSchema(boolean validateSchemas)

getValidateSchema

public boolean getValidateSchema()

setAllowAnyType

public void setAllowAnyType(boolean allowAnyType)

getAllowAnyType

public boolean getAllowAnyType()

getStopAfterErrors

public long getStopAfterErrors()

setStopAfterErrors

public void setStopAfterErrors(long stopAfterErrors)

getProgress

public long getProgress()

getErrors

public long getErrors()

validate

public void validate(java.io.InputStream inputStream,
                     OperationResult validatorResult,
                     java.lang.String objectResultOperationName)

validateObject

public void validateObject(Objectable object,
                           OperationResult objectResult)


Copyright © 2012 evolveum. All Rights Reserved.