We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.componentlocator.
Class SelectorPredicate
- java.lang.Object
-
- com.vaadin.client.componentlocator.SelectorPredicate
-
public class SelectorPredicate extends Object
SelectorPredicates are statements about the state of different components that VaadinFinderLocatorStrategy is finding. SelectorPredicates also provide useful information of said components to debug window by giving means to provide better variable naming.
Since:
7.2
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description SelectorPredicate()
-
Method Summary
All Methods Modifier and Type Method Description static List<SelectorPredicate>
extractPostFilterPredicates(String path)
static List<SelectorPredicate>
extractPredicates(String path)
Generates a list of predicates from a single predicate string.
int
getIndex()
String
getName()
String
getValue()
boolean
isWildcard()
void
setIndex(int index)
void
setName(String name)
void
setValue(String value)
void
setWildcard(boolean wildcard)
-
-
-
Method Detail
-
extractPostFilterPredicates
public static List<SelectorPredicate> extractPostFilterPredicates(String path)
-
extractPredicates
public static List<SelectorPredicate> extractPredicates(String path)
Generates a list of predicates from a single predicate string.
Parameters:
path
- a comma separated string of predicatesReturns:
a List of Predicate objects
-
getName
public String getName()
Returns:
the name
-
setName
public void setName(String name)
Parameters:
name
- the name to set
-
getValue
public String getValue()
Returns:
the value
-
setValue
public void setValue(String value)
Parameters:
value
- the value to set
-
getIndex
public int getIndex()
Returns:
the index
-
setIndex
public void setIndex(int index)
Parameters:
index
- the index to set
-
isWildcard
public boolean isWildcard()
Returns:
the wildcard
-
setWildcard
public void setWildcard(boolean wildcard)
Parameters:
wildcard
- the wildcard to set
-
-