Browse Source

Remove unused class

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271705 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
4284ea0840
1 changed files with 0 additions and 47 deletions
  1. +0
    -47
      proposal/myrmidon/src/java/org/apache/myrmidon/api/Context.java

+ 0
- 47
proposal/myrmidon/src/java/org/apache/myrmidon/api/Context.java View File

@@ -1,47 +0,0 @@
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.myrmidon.api;

import java.util.Map;

/**
* A context - a set of named properties.
*
* @author <a href="mailto:peter@apache.org">Peter Donald</a>
* @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
* @version $Revision$ $Date$
*/
public interface Context
{
/**
* Resolve a value according to the context.
* This involves evaluating the string and replacing
* ${} sequences with property values.
*
* @param value the value to resolve
* @return the resolved value
*/
Object resolveValue( String value )
throws TaskException;

/**
* Retrieve property for name.
*
* @param name the name of property
* @return the value of property, or null if the property has no value.
*/
Object getProperty( String name );

/**
* Retrieve a copy of all the properties accessible via context.
*
* @return the map of all property names to values
*/
Map getProperties();

}

Loading…
Cancel
Save