use of eu.bcvsolutions.idm.ic.api.IcConnectorKey in project CzechIdMng by bcvsolutions.
the class CzechIdMIcConvertUtil method convertConnectorClass.
public static IcConnectorInfo convertConnectorClass(IcConnectorClass connectorAnnotation, Class<? extends IcConnector> clazz) {
IcConnectorKey key = new IcConnectorKeyImpl(connectorAnnotation.framework(), clazz.getName(), connectorAnnotation.version(), connectorAnnotation.name());
IcConnectorInfo info = new IcConnectorInfoImpl(MessageFormat.format("{0} {1}", connectorAnnotation.displayName(), connectorAnnotation.version()), connectorAnnotation.framework(), key);
return info;
}
Aggregations