com.jrockit.mc.flightrecorder.provider
Class Values

java.lang.Object
  extended by com.jrockit.mc.flightrecorder.provider.Values
All Implemented Interfaces:
IValues, java.lang.Iterable

public final class Values
extends java.lang.Object
implements IValues

An implementation of IValues

Author:
Erik Gahlin

Constructor Summary
Values(IView view)
           
 
Method Summary
 java.util.Collection<java.lang.String> getAttributes()
          Returns the attributes
 java.util.Collection<FieldType> getFieldTypes()
          Returns the supported FieldTypes
 java.util.Iterator<java.lang.Object> iterator()
           
 void setAttribute(java.util.Collection<java.lang.String> attributes)
          Sets the attribute values that should be extracted.
 void setFieldTypes(java.util.Collection<FieldType> fieldTypes)
          Sets the supported FieldTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Values

public Values(IView view)
Method Detail

setAttribute

public void setAttribute(java.util.Collection<java.lang.String> attributes)
Description copied from interface: IValues
Sets the attribute values that should be extracted. E.g the attribute value "(endTime)" will return the end time for all events for the view, but "/java/socket_read#(endTime)" will only return the end time of the the Socket Read event

Specified by:
setAttribute in interface IValues

getAttributes

public java.util.Collection<java.lang.String> getAttributes()
Description copied from interface: IValues
Returns the attributes

Specified by:
getAttributes in interface IValues
Returns:
the attributes

setFieldTypes

public void setFieldTypes(java.util.Collection<FieldType> fieldTypes)
Description copied from interface: IValues
Sets the supported FieldTypes

Specified by:
setFieldTypes in interface IValues

getFieldTypes

public java.util.Collection<FieldType> getFieldTypes()
Description copied from interface: IValues
Returns the supported FieldTypes

Specified by:
getFieldTypes in interface IValues
Returns:
the field types

iterator

public java.util.Iterator<java.lang.Object> iterator()
Specified by:
iterator in interface java.lang.Iterable


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.