edu.internet2.middleware.grouper.changeLog
Class ChangeLogProcessorMetadata

java.lang.Object
  extended by edu.internet2.middleware.grouper.changeLog.ChangeLogProcessorMetadata

public class ChangeLogProcessorMetadata
extends Object

metadata about the change log


Constructor Summary
ChangeLogProcessorMetadata()
           
 
Method Summary
 String getConsumerName()
          name of consumer in config file
 Hib3GrouperLoaderLog getHib3GrouperLoaderLog()
           
 Throwable getRecordException()
          if there is an exception in a record, put it here
 long getRecordExceptionSequence()
          the index of the record where the exception took place
 String getRecordProblemText()
          the problem text of the problem
 boolean isHadProblem()
          if it had problem
 void registerProblem(Throwable throwable, String errorMessage, long problemSequenceNumber)
          register a problem with the run
 void setConsumerName(String consumerName1)
          name of consumer in config file
 void setHadProblem(boolean hadProblem1)
          if it had problem
 void setHib3GrouperLoaderLog(Hib3GrouperLoaderLog hib3GrouperLoaderLog1)
           
 void setRecordException(Throwable recordException1)
          if there is an exception in a record, put it here
 void setRecordExceptionSequence(long recordExceptionSequence1)
          the index of the record where the exception took place
 void setRecordProblemText(String recordProblemText1)
          the problem text of the problem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeLogProcessorMetadata

public ChangeLogProcessorMetadata()
Method Detail

getConsumerName

public String getConsumerName()
name of consumer in config file

Returns:
consumer name

setConsumerName

public void setConsumerName(String consumerName1)
name of consumer in config file

Parameters:
consumerName1 -

isHadProblem

public boolean isHadProblem()
if it had problem

Returns:
if had problem

setHadProblem

public void setHadProblem(boolean hadProblem1)
if it had problem

Parameters:
hadProblem1 -

getHib3GrouperLoaderLog

public Hib3GrouperLoaderLog getHib3GrouperLoaderLog()
Returns:
the loader log

setHib3GrouperLoaderLog

public void setHib3GrouperLoaderLog(Hib3GrouperLoaderLog hib3GrouperLoaderLog1)
Parameters:
hib3GrouperLoaderLog1 -

getRecordException

public Throwable getRecordException()
if there is an exception in a record, put it here

Returns:
exception

setRecordException

public void setRecordException(Throwable recordException1)
if there is an exception in a record, put it here

Parameters:
recordException1 -

getRecordExceptionSequence

public long getRecordExceptionSequence()
the index of the record where the exception took place

Returns:
sequence

setRecordExceptionSequence

public void setRecordExceptionSequence(long recordExceptionSequence1)
the index of the record where the exception took place

Parameters:
recordExceptionSequence1 -

getRecordProblemText

public String getRecordProblemText()
the problem text of the problem

Returns:
text

setRecordProblemText

public void setRecordProblemText(String recordProblemText1)
the problem text of the problem

Parameters:
recordProblemText1 -

registerProblem

public void registerProblem(Throwable throwable,
                            String errorMessage,
                            long problemSequenceNumber)
register a problem with the run

Parameters:
throwable -
errorMessage -
problemSequenceNumber - the sequence with the problem