nl.toolforge.karma.core.manifest
Class ManifestCollector

java.lang.Object
  extended bynl.toolforge.karma.core.manifest.ManifestCollector

public class ManifestCollector
extends java.lang.Object

Class that collects all manifests for a WorkingContext.

Version:
$Id: ManifestCollector.java,v 1.17 2004/11/03 20:54:15 asmedes Exp $
Author:
D.A. Smedes

Constructor Summary
ManifestCollector(WorkingContext workingContext)
           
 
Method Summary
 java.util.Collection getAllManifests()
          Returns a collection of manifest file names, located in the the manifest store.
 Manifest loadManifestFromHistory()
          Retrieves the last used manifest or null when none was found.
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestCollector

public ManifestCollector(WorkingContext workingContext)
Method Detail

getAllManifests

public java.util.Collection getAllManifests()
Returns a collection of manifest file names, located in the the manifest store.

Returns:

refresh

public void refresh()

loadManifestFromHistory

public Manifest loadManifestFromHistory()
                                 throws LocationException,
                                        ManifestException
Retrieves the last used manifest or null when none was found.

Returns:
The last used manifest.
Throws:
ManifestException - When the manifest referred to by Manifest.HISTORY_KEY could not be loaded.
LocationException


Copyright © 2002-2004 Toolforge. All Rights Reserved.