Eclipse Platform
Release 3.1

org.eclipse.ui.activities
Interface IActivityPatternBinding

All Superinterfaces:
Comparable

public interface IActivityPatternBinding
extends Comparable

An instance of this interface represents a binding between an activity and a regular expression pattern. It's typically unnecessary to use this interface directly. Rather, clients wishing to test strings against activity patterns should use instances of IIdentifier.

This interface is not intended to be extended or implemented by clients.

Since:
3.0
See Also:
IActivity, IIdentifier, IActivityManager.getIdentifier(String)

Method Summary
 String getActivityId()
          Returns the identifier of the activity represented in this binding.
 Pattern getPattern()
          Returns the pattern represented in this binding.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getActivityId

public String getActivityId()
Returns the identifier of the activity represented in this binding.

Returns:
the identifier of the activity represented in this binding. Guaranteed not to be null.

getPattern

public Pattern getPattern()
Returns the pattern represented in this binding. This pattern should conform to the regular expression syntax described by the java.util.regex.Pattern class.

Returns:
the pattern. Guaranteed not to be null.

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.