org.marketcetera.util.auth
Class ConsoleContext

java.lang.Object
  extended by org.marketcetera.util.auth.Context<ConsoleSetter<?>>
      extended by org.marketcetera.util.auth.ConsoleContext

public class ConsoleContext
extends Context<ConsoleSetter<?>>

A context for console setters (ConsoleSetter).

Since:
0.5.0
Version:
$Id: ConsoleContext.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com

Constructor Summary
ConsoleContext(boolean override)
          Constructor mirroring superclass constructor.
ConsoleContext(I18NBoundMessage name, boolean override)
          Constructor mirroring superclass constructor.
 
Method Summary
 void setValues()
          Sets the data of the holders associated with the receivers' setters.
 
Methods inherited from class org.marketcetera.util.auth.Context
add, getName, getOverride, getSetters, printUsage, shouldProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleContext

public ConsoleContext(I18NBoundMessage name,
                      boolean override)
Constructor mirroring superclass constructor.

See Also:
Context.Context(I18NBoundMessage,boolean)

ConsoleContext

public ConsoleContext(boolean override)
Constructor mirroring superclass constructor. The context name is set automatically to a default value.

See Also:
Context.Context(I18NBoundMessage,boolean)
Method Detail

setValues

public void setValues()
               throws I18NException
Description copied from class: Context
Sets the data of the holders associated with the receivers' setters. Setters may be unable/unwilling to set their holder data so, when this method returns, some holders may still have unset data.

Specified by:
setValues in class Context<ConsoleSetter<?>>
Throws:
I18NException - Thrown if the receiver cannot create an operational context for its setters, and therefore the setters cannot even attempt to set their holder data.


Copyright © 2012. All Rights Reserved.