final RemoteClient remoteClient = buildRemoteClient(config.getEndpointDescriptor(endpointId).getEndpointUrl());
String url = endpointDescriptor.getEndpointUrl();
String url = endpointDescriptor.getEndpointUrl();
String url = endpointDescriptor.getEndpointUrl();
/** * Returns the configured URL for the given endpoint * * @param endpointId String * * @return the endpoint url */ @ScriptMethod ( help="Returns the configured URL for the given endpoint", output="The endpoint url" ) public String getEndpointURL(@ScriptParameter(help="Endpoint id") String endpointId) { String url = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { EndpointDescriptor descriptor = remoteConfig.getEndpointDescriptor(endpointId); if (descriptor != null) { url = descriptor.getEndpointUrl(); } } return url; }
/** * Returns the configured URL for the given endpoint * * @param endpointId * * @return the endpoint url */ @ScriptMethod ( help="Returns the configured URL for the given endpoint", output="The endpoint url" ) public String getEndpointURL(@ScriptParameter(help="Endpoint id") String endpointId) { String url = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { EndpointDescriptor descriptor = remoteConfig.getEndpointDescriptor(endpointId); if (descriptor != null) { url = descriptor.getEndpointUrl(); } } return url; }
/** * Returns the configured URL for the given endpoint * * @param endpointId String * * @return the endpoint url */ @ScriptMethod ( help="Returns the configured URL for the given endpoint", output="The endpoint url" ) public String getEndpointURL(@ScriptParameter(help="Endpoint id") String endpointId) { String url = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { EndpointDescriptor descriptor = remoteConfig.getEndpointDescriptor(endpointId); if (descriptor != null) { url = descriptor.getEndpointUrl(); } } return url; }