This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 726684

Summary: CLI: Availability type exposed methods inconsistency
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.0.1CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Ondřej Žižka 2011-07-29 08:38:35 EDT
`AvailabilityType` prints some methods in tab completion which are then claimed as not present when called:


rhqadmin@stacks1.mw.lab.eng.bos.redhat.com:7080$ AvailabilityType.getClass<Tab>

getClassName     getClassObject

rhqadmin@stacks1.mw.lab.eng.bos.redhat.com:7080$ AvailabilityType.getClassName()

sun.org.mozilla.javascript.internal.EvaluatorException: Java class "org.rhq.core.domain.measurement.AvailabilityType" has no public instance field or method named "getClassName".
AvailabilityType.getClassName()
^