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 String
protected String
protected Class
<? extends FileSystemItemFactory> protected String
protected int
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getFacet()
Class
<? extends FileSystemItemFactory> Deprecated.since 2025.0 seems unusedgetId()
The descriptor id, descriptors with same id are merged.getName()
int
getOrder()
getParameter
(String name) Deprecated.since 2025.0 seems unusedint
hashCode()
merge
(Descriptor o) Returns a descriptor representingother
merged intothis
void
setDocType
(String docType) Deprecated.since 2025.0 seems unusedvoid
void
setFactoryClass
(Class<? extends FileSystemItemFactory> factoryClass) Deprecated.since 2025.0 seems unusedvoid
setOrder
(int order) void
setParameter
(String name, String value) Deprecated.since 2025.0 seems unusedvoid
setParameters
(Map<String, String> parameters) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:Descriptor
The 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:
getId
in 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:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<FileSystemItemFactoryDescriptor>
-