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 LonggetCacheReloadTime()List<String>getCancelStatus()List<String>getCloseStatus()StringgetHost()LonggetIssueTypeId()List<String>getOpenStatus()StringgetPassword()StringgetProjectKey()PropertiesgetProperties()StringgetReopentransitionName()StringgetResolveTransitionName()StringgetUsername()voidvalidateRequiredProperties()
-
-
-
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()
-
-