edu.internet2.middleware.grouper.messaging
Class MessagingListenerMetadata

java.lang.Object
  extended by edu.internet2.middleware.grouper.messaging.MessagingListenerMetadata

public class MessagingListenerMetadata
extends Object

metadata about the messaging listener


Constructor Summary
MessagingListenerMetadata()
           
 
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
 String getRecordExceptionId()
          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, String problemMessageId)
          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 setRecordExceptionId(String 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

MessagingListenerMetadata

public MessagingListenerMetadata()
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 -

getRecordExceptionId

public String getRecordExceptionId()
the index of the record where the exception took place

Returns:
sequence

setRecordExceptionId

public void setRecordExceptionId(String 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,
                            String problemMessageId)
register a problem with the run

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