org.mevenide.context
Class AbstractQueryContext

java.lang.Object
  extended byorg.mevenide.context.AbstractQueryContext
All Implemented Interfaces:
IQueryContext
Direct Known Subclasses:
DefaultQueryContext

public abstract class AbstractQueryContext
extends java.lang.Object
implements IQueryContext

utility abstract superclass, implementing getResolver() and getPropertyValue() methods.

Author:
Milos Kleint

Field Summary
 
Fields inherited from interface org.mevenide.context.IQueryContext
BUILD_PROPS_OFFSET, LOCATION_PARENT_PROJECT, LOCATION_PARENT_PROJECT_BUILD, LOCATION_PROJECT, LOCATION_PROJECT_BUILD, LOCATION_USER_BUILD, PROJECT_PROPS_OFFSET
 
Constructor Summary
protected AbstractQueryContext()
           
 
Method Summary
 java.lang.String getPropertyValue(java.lang.String key)
           
 IPropertyResolver getResolver()
          the default property resolver for this instance of IQueryContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mevenide.context.IQueryContext
getBuildPropertyKeys, getBuildPropertyValue, getParentBuildPropertyKeys, getParentBuildPropertyValue, getParentProjectPropertyKeys, getParentProjectPropertyValue, getPOMContext, getProjectDirectory, getProjectPropertyKeys, getProjectPropertyValue, getPropertyKeysAt, getPropertyValueAt, getUserDirectory, getUserPropertyKeys, getUserPropertyValue
 

Constructor Detail

AbstractQueryContext

protected AbstractQueryContext()
Method Detail

getResolver

public final IPropertyResolver getResolver()
the default property resolver for this instance of IQueryContext

Specified by:
getResolver in interface IQueryContext

getPropertyValue

public java.lang.String getPropertyValue(java.lang.String key)
Specified by:
getPropertyValue in interface IQueryContext


Copyright © 2003-2005 The Codehaus. All Rights Reserved.