edu.rice.cs.cunit.threadCheck.predicates
Annotation Type NotThreadWithName


@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD,TYPE})
public @interface NotThreadWithName

An annotation used to designate methods that are not allowed to be run by a thread with the specified name.

Author:
Mathias Ricken

Required Element Summary
 java.lang.String value
          Name of the thread.
 
Optional Element Summary
 boolean regex
          Determines if the string in the value member is a regular expression (true) or a plain string (false).
 

Element Detail

value

public abstract java.lang.String value
Name of the thread. If the regex member is true, then this is treated as a regular expression.

Returns:
name or regular expression for the name of the thread forbidden to run

regex

public abstract boolean regex
Determines if the string in the value member is a regular expression (true) or a plain string (false).

Returns:
true if the string in the value member is a regular expression
Default:
false