org.jclouds.rackspace.clouddns.v1.functions
Class RecordFunctions

java.lang.Object
  extended by org.jclouds.rackspace.clouddns.v1.functions.RecordFunctions

public class RecordFunctions
extends Object

Functions for working with Records.


Field Summary
static com.google.common.base.Function<RecordDetail,Record> GET_RECORD
          Take a RecordDetail and return its Record.
static com.google.common.base.Function<RecordDetail,String> GET_RECORD_ID
          Take a RecordDetail and return its id.
 
Method Summary
static Map<String,Record> toRecordMap(Set<RecordDetail> recordDetails)
          Take a Set of RecordDetails and return a Map of record id to the Record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_RECORD_ID

public static final com.google.common.base.Function<RecordDetail,String> GET_RECORD_ID
Take a RecordDetail and return its id.


GET_RECORD

public static final com.google.common.base.Function<RecordDetail,Record> GET_RECORD
Take a RecordDetail and return its Record.

Method Detail

toRecordMap

public static Map<String,Record> toRecordMap(Set<RecordDetail> recordDetails)
Take a Set of RecordDetails and return a Map of record id to the Record.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.