org.sonatype.gossip.source
Class SystemPropertySource

java.lang.Object
  extended by org.sonatype.gossip.source.SourceSupport
      extended by org.sonatype.gossip.source.SystemPropertySource
All Implemented Interfaces:
Source

public class SystemPropertySource
extends SourceSupport

System-property configuration source.

Since:
1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.sonatype.gossip.source.SourceSupport
log
 
Constructor Summary
SystemPropertySource()
           
SystemPropertySource(String name)
           
 
Method Summary
 String getName()
           
 Model load()
          Load a configuration model.
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class org.sonatype.gossip.source.SourceSupport
load, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemPropertySource

public SystemPropertySource()

SystemPropertySource

public SystemPropertySource(String name)
Method Detail

setName

public void setName(String name)

getName

public String getName()

load

public Model load()
           throws Exception
Description copied from interface: Source
Load a configuration model.

Returns:
The loaded model.
Throws:
Exception - Failed to load the model.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Sonatype. All Rights Reserved.