Package org.opennms.netmgt.ticketer.jira
Class Config
- java.lang.Object
-
- org.opennms.netmgt.ticketer.jira.Config
-
public class Config extends Object
Configuration abstraction to make access to the underlying properties easier.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description Config(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCacheReloadTime()
List<String>
getCancelStatus()
List<String>
getCloseStatus()
String
getHost()
Long
getIssueTypeId()
List<String>
getOpenStatus()
String
getPassword()
String
getProjectKey()
Properties
getProperties()
String
getReopentransitionName()
String
getResolveTransitionName()
String
getUsername()
void
validateRequiredProperties()
-
-
-
Constructor Detail
-
Config
public Config(Properties properties)
-
-
Method Detail
-
getHost
public String getHost()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getIssueTypeId
public Long getIssueTypeId() throws NumberFormatException
- Throws:
NumberFormatException
-
getProjectKey
public String getProjectKey()
-
getResolveTransitionName
public String getResolveTransitionName()
-
getReopentransitionName
public String getReopentransitionName()
-
getCacheReloadTime
public Long getCacheReloadTime() throws NumberFormatException
- Throws:
NumberFormatException
-
getProperties
public Properties getProperties()
-
validateRequiredProperties
public void validateRequiredProperties()
-
-