MetaBoss

com.metaboss.sdlctools.models
Interface ModelAssistant.ModelActionsLogger

Enclosing interface:
ModelAssistant

public static interface ModelAssistant.ModelActionsLogger

This interface defines the link from assistant to the model actions logging mechanism. If assistant has done some change to the model - it has to use 'info' level to report it. If assistant have noticed something not right, but still managed to do all necessaary changes - the 'warning' level must be used. If assistant have failed to do something because of broken model - it should use 'error' level. Note that all other 'technical' logging (e.g.java exceptions etc) should go to the normal platform logging


Method Summary
 void error(java.lang.String pModelName, java.lang.String pMessage)
          If assistant have failed to do something because of broken model - it should use 'error' level.
 void info(java.lang.String pModelName, java.lang.String pMessage)
          If assistant has done some change to the model - it has to use 'info' level to report it.
 void warn(java.lang.String pModelName, java.lang.String pMessage)
          If assistant have noticed something not right, but still managed to do all necessaary changes - the 'warning' level must be used.
 

Method Detail

info

public void info(java.lang.String pModelName,
                 java.lang.String pMessage)
If assistant has done some change to the model - it has to use 'info' level to report it.

Parameters:
pModelName - - the name of the model this message is about
pMessage - - the message

warn

public void warn(java.lang.String pModelName,
                 java.lang.String pMessage)
If assistant have noticed something not right, but still managed to do all necessaary changes - the 'warning' level must be used.

Parameters:
pModelName - - the name of the model this message is about
pMessage - - the message

error

public void error(java.lang.String pModelName,
                  java.lang.String pMessage)
If assistant have failed to do something because of broken model - it should use 'error' level.

Parameters:
pModelName - - the name of the model this message is about
pMessage - - the message

MetaBoss

Copyright © 2000-2005 Softaris Pty.Ltd. All Rights Reserved.