de.smartics.maven.issues
Class ResourceLocator

Package class diagram package ResourceLocator
java.lang.Object
  extended by de.smartics.maven.issues.ResourceLocator

public final class ResourceLocator
     
     
extends Object

Resource locator to access resource required by the Maven plugin.

Author:
Robert Reiner

Method Summary
static ResourceLocator getInstance()
          Returns the reference to the singleton instance.
 TaskDataCache getTaskDataCache()
          Returns the cache of already processed task data.
 void setTaskDataCacheIfUnset(TaskDataCache taskDataCache)
          Sets the cache of already processed task data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTaskDataCache

public TaskDataCache getTaskDataCache()
Returns the cache of already processed task data.

Returns:
the cache of already processed task data.

setTaskDataCacheIfUnset

public void setTaskDataCacheIfUnset(TaskDataCache taskDataCache)
Sets the cache of already processed task data. The cache is only set, if it is null.

Parameters:
taskDataCache - the cache of already processed task data. Must not be null.

getInstance

public static ResourceLocator getInstance()
Returns the reference to the singleton instance.

Returns:
the reference to the singleton instance.


Copyright © 2008-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.