Package org.nuxeo.drive.service.impl
Class FileSystemItemFactoryDescriptor
java.lang.Object
org.nuxeo.drive.service.impl.FileSystemItemFactoryDescriptor
- All Implemented Interfaces:
Serializable,Comparable<FileSystemItemFactoryDescriptor>,Descriptor
public class FileSystemItemFactoryDescriptor
extends Object
implements Serializable, Comparable<FileSystemItemFactoryDescriptor>, Descriptor
XMap descriptor for factories contributed to the
fileSystemItemFactory extension point of the
FileSystemItemAdapterService.- Author:
- Antoine Taillefer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Class<? extends FileSystemItemFactory> protected Stringprotected intFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetFacet()Class<? extends FileSystemItemFactory> Deprecated.since 2025.0 seems unusedgetId()The descriptor id, descriptors with same id are merged.getName()intgetOrder()getParameter(String name) Deprecated.since 2025.0 seems unusedinthashCode()merge(Descriptor o) Returns a descriptor representingothermerged intothisvoidsetDocType(String docType) Deprecated.since 2025.0 seems unusedvoidvoidsetFactoryClass(Class<? extends FileSystemItemFactory> factoryClass) Deprecated.since 2025.0 seems unusedvoidsetOrder(int order) voidsetParameter(String name, String value) Deprecated.since 2025.0 seems unusedvoidsetParameters(Map<String, String> parameters) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
name
-
order
protected int order -
docType
-
facet
-
factoryClass
-
parameters
-
-
Constructor Details
-
FileSystemItemFactoryDescriptor
public FileSystemItemFactoryDescriptor()
-
-
Method Details
-
getId
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
getName
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order) -
getDocType
-
setDocType
Deprecated.since 2025.0 seems unused -
getFacet
-
setFacet
-
getFactoryClass
Deprecated.since 2025.0 seems unused -
setFactoryClass
@Deprecated(since="2025.0") public void setFactoryClass(Class<? extends FileSystemItemFactory> factoryClass) Deprecated.since 2025.0 seems unused -
getParameters
-
getParameter
Deprecated.since 2025.0 seems unused -
setParameters
-
setParameter
Deprecated.since 2025.0 seems unused -
getFactory
-
toString
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<FileSystemItemFactoryDescriptor>
-