org.sonatype.gossip.source
Class HomeDirectorySource

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

public class HomeDirectorySource
extends SourceSupport

Home-directory configuration source.

Since:
1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.sonatype.gossip.source.SourceSupport
log
 
Constructor Summary
HomeDirectorySource()
           
 
Method Summary
 String getPath()
           
 Model load()
          Load a configuration model.
 void setPath(String path)
           
 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

HomeDirectorySource

public HomeDirectorySource()
Method Detail

setPath

public void setPath(String path)

getPath

public String getPath()

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.