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