Class Restrictions.RestrictionsBuilder
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.confluence.v6.model.Restrictions.RestrictionsBuilder
-
- All Implemented Interfaces:
ConfluenceResourceBuilder<Restrictions>
- Enclosing class:
- Restrictions
public static class Restrictions.RestrictionsBuilder extends java.lang.Object implements ConfluenceResourceBuilder<Restrictions>
-
-
Constructor Summary
Constructors Constructor Description RestrictionsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestrictionsfromJson(org.json.simple.JSONObject restrictionsJson)Creates a T instance from a JSON representationRestrictionsfromJson(org.json.simple.JSONObject restrictionsJson, Restrictions restrictions)Populates the given T instance from a JSON representation and return itjava.lang.Class<Restrictions>getType()Returns the Class of the resource that can be built
-
-
-
Method Detail
-
fromJson
public Restrictions fromJson(org.json.simple.JSONObject restrictionsJson)
Description copied from interface:ConfluenceResourceBuilderCreates a T instance from a JSON representation
- Specified by:
fromJsonin interfaceConfluenceResourceBuilder<Restrictions>- Returns:
- T instance
-
fromJson
public Restrictions fromJson(org.json.simple.JSONObject restrictionsJson, Restrictions restrictions)
Description copied from interface:ConfluenceResourceBuilderPopulates the given T instance from a JSON representation and return it
- Specified by:
fromJsonin interfaceConfluenceResourceBuilder<Restrictions>- Returns:
- T instance
-
getType
public java.lang.Class<Restrictions> getType()
Description copied from interface:ConfluenceResourceBuilderReturns the Class of the resource that can be built
- Specified by:
getTypein interfaceConfluenceResourceBuilder<Restrictions>- Returns:
- the type Class of the resource which can be built by this builder
-
-