Package org.rhq.core.domain.configuration

Examples of org.rhq.core.domain.configuration.AbstractConfigurationUpdate


                .setFields(fieldResource, fieldAncestry, fieldDateCreated, fieldLastUpdated, fieldStatus, fieldUser);
        }

        private String getStatusHtmlString(Record record) {
            String html = null;
            AbstractConfigurationUpdate obj = (AbstractConfigurationUpdate) record
                .getAttributeAsObject(DataSource.Field.OBJECT);
            switch (obj.getStatus()) {
            case SUCCESS: {
                html = MSG.view_group_resConfig_members_statusSuccess();
                break;
            }
            case INPROGRESS: {
                html = MSG.view_group_resConfig_members_statusInprogress();
                break;
            }
            case NOCHANGE: {
                html = MSG.view_group_resConfig_members_statusNochange();
                break;
            }
            case FAILURE: {
                html = obj.getErrorMessage();
                if (html == null) {
                    html = MSG.view_group_resConfig_members_statusFailure();
                }
                break;
            }
View Full Code Here


    }

    private String getStatusHtmlString(Record record) {
        String html = null;
        AbstractConfigurationUpdate obj = (AbstractConfigurationUpdate) record
            .getAttributeAsObject(GroupResourceConfigurationDataSource.Field.OBJECT);
        switch (obj.getStatus()) {
        case SUCCESS: {
            html = MSG.view_group_resConfig_table_statusSuccess();
            break;
        }
        case INPROGRESS: {
            html = "<p>" + MSG.view_group_resConfig_table_statusInprogress() + "</p><p>"
                + MSG.view_group_resConfig_table_msg1() + "</p>";
            break;
        }
        case NOCHANGE: {
            html = MSG.view_group_resConfig_table_statusNochange();
            break;
        }
        case FAILURE: {
            html = obj.getErrorMessage();
            if (html == null) {
                html = "<p>" + MSG.view_group_resConfig_table_statusFailure() + "</p><p>"
                    + MSG.view_group_resConfig_table_msg1() + "</p>";
            } else {
                if (html.length() > 80) {
View Full Code Here

                .setFields(fieldResource, fieldAncestry, fieldDateCreated, fieldLastUpdated, fieldStatus, fieldUser);
        }

        private String getStatusHtmlString(Record record) {
            String html = null;
            AbstractConfigurationUpdate obj = (AbstractConfigurationUpdate) record
                .getAttributeAsObject(DataSource.Field.OBJECT);
            switch (obj.getStatus()) {
            case SUCCESS: {
                html = MSG.view_group_pluginConfig_members_statusSuccess();
                break;
            }
            case INPROGRESS: {
                html = MSG.view_group_pluginConfig_members_statusInprogress();
                break;
            }
            case NOCHANGE: {
                html = MSG.view_group_pluginConfig_members_statusNochange();
                break;
            }
            case FAILURE: {
                html = obj.getErrorMessage();
                if (html == null) {
                    html = MSG.view_group_pluginConfig_members_statusFailure();
                }
                break;
            }
View Full Code Here

        addFields(fields);
    }

    protected String getStatusHtmlString(Record record) {
        String html = null;
        AbstractConfigurationUpdate obj = (AbstractConfigurationUpdate) record.getAttributeAsObject(Field.OBJECT);
        switch (obj.getStatus()) {
        case SUCCESS: {
            html = MSG.view_configurationHistoryList_table_statusSuccess();
            break;
        }
        case INPROGRESS: {
            html = "<p>" + MSG.view_configurationHistoryList_table_statusInprogress() + "</p>";
            break;
        }
        case NOCHANGE: {
            html = MSG.view_configurationHistoryList_table_statusNochange();
            break;
        }
        case FAILURE: {
            html = obj.getErrorMessage();
            if (html == null) {
                html = "<p>" + MSG.view_configurationHistoryList_table_statusFailure() + "</p>";
            } else {
                if (html.length() > 80) {
                    // this was probably an error stack trace, snip it so the tooltip isn't too big
View Full Code Here

    }

    private String getStatusHtmlString(Record record) {
        String html = null;
        AbstractConfigurationUpdate obj = (AbstractConfigurationUpdate) record
            .getAttributeAsObject(DataSource.Field.OBJECT);
        switch (obj.getStatus()) {
        case SUCCESS: {
            html = MSG.view_group_pluginConfig_table_statusSuccess();
            break;
        }
        case INPROGRESS: {
            html = "<p>" + MSG.view_group_pluginConfig_table_statusInprogress() + "</p><p>"
                + MSG.view_group_pluginConfig_table_msg1() + "</p>";
            break;
        }
        case NOCHANGE: {
            html = MSG.view_group_pluginConfig_table_statusNochange();
            break;
        }
        case FAILURE: {
            html = obj.getErrorMessage();
            if (html == null) {
                html = "<p>" + MSG.view_group_pluginConfig_table_statusFailure() + "</p><p>"
                    + MSG.view_group_pluginConfig_table_msg1() + "</p>";
            } else {
                if (html.length() > 80) {
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.configuration.AbstractConfigurationUpdate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.