public class ConnectorRestClient extends BaseRestClient
LOG
Constructor and Description |
---|
ConnectorRestClient() |
Modifier and Type | Method and Description |
---|---|
List<ConnIdObjectClassTO> |
buildObjectClassInfo(ConnInstanceTO connInstanceTO,
boolean includeSpecial) |
Pair<Boolean,String> |
check(ConnInstanceTO connectorTO) |
static boolean |
check(String coreAddress,
String domain,
String jwt,
String key) |
ConnInstanceTO |
create(ConnInstanceTO connectorTO) |
ConnInstanceTO |
delete(String key) |
List<ConnBundleTO> |
getAllBundles() |
List<ConnInstanceTO> |
getAllConnectors() |
List<String> |
getExtAttrNames(String adminRealm,
String objectClass,
String connectorKey,
Collection<ConnConfProperty> conf) |
List<String> |
getObjectClasses(String connectorKey) |
ConnInstanceTO |
read(String key)
Load an already existent connector by its name.
|
void |
reload() |
void |
update(ConnInstanceTO connectorTO) |
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
public List<ConnInstanceTO> getAllConnectors()
public ConnInstanceTO create(ConnInstanceTO connectorTO)
public List<String> getExtAttrNames(String adminRealm, String objectClass, String connectorKey, Collection<ConnConfProperty> conf)
public ConnInstanceTO read(String key)
key
- the idpublic void update(ConnInstanceTO connectorTO)
public ConnInstanceTO delete(String key)
public List<ConnBundleTO> getAllBundles()
public static boolean check(String coreAddress, String domain, String jwt, String key) throws IOException
IOException
public Pair<Boolean,String> check(ConnInstanceTO connectorTO)
public List<ConnIdObjectClassTO> buildObjectClassInfo(ConnInstanceTO connInstanceTO, boolean includeSpecial)
public void reload()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.