net.sf.appinfo
Class FallbackApplicationInfo

java.lang.Object
  extended by net.sf.appinfo.AbstractInitAwareApplicationInfo
      extended by net.sf.appinfo.FallbackApplicationInfo
All Implemented Interfaces:
ApplicationInfo, InitAwareApplicationInfo

public class FallbackApplicationInfo
extends AbstractInitAwareApplicationInfo

Safe ApplicationInfo implementation which cannot fail on initialization and return default values. Class designed to be used at the end of the chain in ChainedApplicationInfo.

Since:
0.4.0
Author:
Marcin ZajÄ…czkowski, 2010-10-09
See Also:
ChainedApplicationInfo

Field Summary
 
Fields inherited from class net.sf.appinfo.AbstractInitAwareApplicationInfo
log
 
Fields inherited from interface net.sf.appinfo.InitAwareApplicationInfo
DEFAULT_NOT_INITED
 
Fields inherited from interface net.sf.appinfo.ApplicationInfo
DEFAULT_BUILD_DATE, DEFAULT_BUILD_NUMBER, DEFAULT_NAME, DEFAULT_SCM_REVISION, DEFAULT_VERSION
 
Constructor Summary
FallbackApplicationInfo()
           
 
Method Summary
protected  void initClass()
          Performs internal class initialization.
 
Methods inherited from class net.sf.appinfo.AbstractInitAwareApplicationInfo
getBuildDate, getBuildNumber, getName, getScmRevision, getVersion, initInfo, isInited, printErrorWithStackTrace, setBuildDate, setBuildNumber, setName, setScmRevision, setVersion, standaloneSafeInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FallbackApplicationInfo

public FallbackApplicationInfo()
Method Detail

initClass

protected void initClass()
Description copied from class: AbstractInitAwareApplicationInfo
Performs internal class initialization. Has to be implemented in every subclass.

Specified by:
initClass in class AbstractInitAwareApplicationInfo


Copyright © 2010-2011. All Rights Reserved.