org.rhq.enterprise.gui.configuration.resource
Class RawConfigUIBean

java.lang.Object
  extended by org.rhq.enterprise.gui.configuration.resource.RawConfigUIBean

public class RawConfigUIBean
extends Object


Constructor Summary
RawConfigUIBean(org.rhq.core.domain.configuration.RawConfiguration rawConfiguration)
           
 
Method Summary
 String getContents()
           
 String getErrorLabel()
           
 String getErrorMessage()
           
 String getFileDisplayName()
           
 String getFileName()
           
 String getIcon()
           
 String getPath()
           
 boolean isModified()
           
 void setContents(String contents)
           
 void setErrorMessage(String msg)
           
 void setRawConfiguration(org.rhq.core.domain.configuration.RawConfiguration rawConfiguration)
           
 void undoEdit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawConfigUIBean

public RawConfigUIBean(org.rhq.core.domain.configuration.RawConfiguration rawConfiguration)
Method Detail

setRawConfiguration

public void setRawConfiguration(org.rhq.core.domain.configuration.RawConfiguration rawConfiguration)

isModified

public boolean isModified()

getContents

public String getContents()

setContents

public void setContents(String contents)

undoEdit

public void undoEdit()

getPath

public String getPath()
Returns:
The full path name of the raw config file

getFileName

public String getFileName()
Returns:
The name of the raw config file excluding its path

getErrorLabel

public String getErrorLabel()

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String msg)

getFileDisplayName

public String getFileDisplayName()
Returns:
The name of the raw config file excluding the path. If the file has been modified, an asterisk is prepended to the name.

getIcon

public String getIcon()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.