public class CIMInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_SERVICE_V5_WSDL |
static String |
COVERITY_V5_NAMESPACE |
static String |
DEFECT_SERVICE_V5_WSDL |
static String |
STREAM_NAME_IGNORE_PATTERN
Pattern to ignore streams - this is used to filter out internal DA streams, which are irrelevant to this plugin
|
| Constructor and Description |
|---|
CIMInstance(String name,
String host,
int port,
String user,
String password,
boolean useSSL,
int dataPort) |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheck() |
ConfigurationService |
getConfigurationService()
Returns a Configuration service client
|
int |
getDataPort() |
List<MergedDefectDataObj> |
getDefects(String streamId,
List<Long> defectIds) |
DefectService |
getDefectService()
Returns a Defect service client
|
String |
getHost() |
String |
getName() |
String |
getPassword() |
int |
getPort() |
ProjectDataObj |
getProject(String projectId) |
Long |
getProjectKey(String projectId) |
List<ProjectDataObj> |
getProjects() |
List<StreamDataObj> |
getStaticStreams(String projectId) |
StreamDataObj |
getStream(String streamId) |
URL |
getURL()
The root URL for the CIM instance
|
String |
getUser() |
boolean |
isUseSSL() |
public static final String COVERITY_V5_NAMESPACE
public static final String CONFIGURATION_SERVICE_V5_WSDL
public static final String DEFECT_SERVICE_V5_WSDL
public static final String STREAM_NAME_IGNORE_PATTERN
public String getHost()
public int getPort()
public String getName()
public String getUser()
public String getPassword()
public boolean isUseSSL()
public int getDataPort()
public URL getURL() throws MalformedURLException
MalformedURLException - should not happen if host is validpublic DefectService getDefectService() throws IOException
IOExceptionpublic ConfigurationService getConfigurationService() throws IOException
IOExceptionpublic List<MergedDefectDataObj> getDefects(String streamId, List<Long> defectIds) throws IOException, CovRemoteServiceException_Exception
public ProjectDataObj getProject(String projectId) throws IOException, CovRemoteServiceException_Exception
public Long getProjectKey(String projectId) throws IOException, CovRemoteServiceException_Exception
public List<ProjectDataObj> getProjects() throws IOException, CovRemoteServiceException_Exception
public List<StreamDataObj> getStaticStreams(String projectId) throws IOException, CovRemoteServiceException_Exception
public StreamDataObj getStream(String streamId) throws IOException, CovRemoteServiceException_Exception
public hudson.util.FormValidation doCheck()
throws IOException
IOExceptionCopyright © 2004-2013 Hudson. All Rights Reserved.