Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.internals
Class SearchPolicyDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.internals.SearchPolicyDescriptor
All Implemented Interfaces:
Comparable<SearchPolicyDescriptor>

public class SearchPolicyDescriptor
extends Object
implements Comparable<SearchPolicyDescriptor>

Pluggable policy descriptor for search service

Author:
Anahide Tchertchian

Constructor Summary
SearchPolicyDescriptor()
           
 
Method Summary
 int compareTo(SearchPolicyDescriptor anotherPolicy)
           
 String getName()
           
 int getOrder()
           
 Class<Object> getPolicy()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchPolicyDescriptor

public SearchPolicyDescriptor()
Method Detail

getName

public String getName()

getPolicy

public Class<Object> getPolicy()

isEnabled

public boolean isEnabled()

getOrder

public int getOrder()

compareTo

public int compareTo(SearchPolicyDescriptor anotherPolicy)
Specified by:
compareTo in interface Comparable<SearchPolicyDescriptor>

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.