Package org.nuxeo.drive.service.impl
Class FileSystemItemFactoryDescriptor
- java.lang.Object
-
- org.nuxeo.drive.service.impl.FileSystemItemFactoryDescriptor
-
- All Implemented Interfaces:
Serializable
,Comparable<FileSystemItemFactoryDescriptor>
public class FileSystemItemFactoryDescriptor extends Object implements Serializable, Comparable<FileSystemItemFactoryDescriptor>
XMap descriptor for factories contributed to thefileSystemItemFactory
extension point of theFileSystemItemAdapterService
.- Author:
- Antoine Taillefer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
docType
protected String
facet
protected Class<? extends FileSystemItemFactory>
factoryClass
protected String
name
protected int
order
protected Map<String,String>
parameters
-
Constructor Summary
Constructors Constructor Description FileSystemItemFactoryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FileSystemItemFactoryDescriptor other)
boolean
equals(Object obj)
String
getDocType()
String
getFacet()
FileSystemItemFactory
getFactory()
Class<? extends FileSystemItemFactory>
getFactoryClass()
String
getName()
int
getOrder()
String
getParameter(String name)
Map<String,String>
getParameters()
int
hashCode()
void
setDocType(String docType)
void
setFacet(String facet)
void
setFactoryClass(Class<? extends FileSystemItemFactory> factoryClass)
void
setOrder(int order)
void
setParameter(String name, String value)
void
setParameters(Map<String,String> parameters)
String
toString()
-
-
-
Field Detail
-
order
protected int order
-
factoryClass
protected Class<? extends FileSystemItemFactory> factoryClass
-
parameters
protected Map<String,String> parameters
-
-
Constructor Detail
-
FileSystemItemFactoryDescriptor
public FileSystemItemFactoryDescriptor()
-
-
Method Detail
-
getOrder
public int getOrder()
-
setOrder
public void setOrder(int order)
-
getDocType
public String getDocType()
-
setDocType
public void setDocType(String docType)
-
getFactoryClass
public Class<? extends FileSystemItemFactory> getFactoryClass()
-
setFactoryClass
public void setFactoryClass(Class<? extends FileSystemItemFactory> factoryClass)
-
getParameters
public Map<String,String> getParameters()
-
getParameter
public String getParameter(String name)
-
setParameters
public void setParameters(Map<String,String> parameters)
-
setParameter
public void setParameter(String name, String value)
-
getFactory
public FileSystemItemFactory getFactory()
-
compareTo
public int compareTo(FileSystemItemFactoryDescriptor other)
- Specified by:
compareTo
in interfaceComparable<FileSystemItemFactoryDescriptor>
-
-