ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-3364) Refactor the Role enum into a regular class
Date Mon, 30 Sep 2013 21:20:24 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yusaku Sako updated AMBARI-3364:
--------------------------------

    Fix Version/s:     (was: 1.5.1)
                   1.5.0

> Refactor the Role enum into a regular class
> -------------------------------------------
>
>                 Key: AMBARI-3364
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3364
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3364.patch
>
>
> In order to facilitate new services without having to change code, move the {{Role}}
enum to a class.  Add's "enum like" methods to it to maintain existing code as much as possible:
such as static {{values()}}, {{valueOf(String)}} and non-static {{name()}}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message