HintsUtil
Date: 2013-06-24

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.contentmanagement.storagelayer.storagemanagementservice.impl.util
Class HintsUtil

    java.lang.Object
      org.gcube.contentmanagement.storagelayer.storagemanagementservice.impl.util.HintsUtil

    public class HintsUtil

extends java.lang.Object

Author:
  Federico De Faveri defaveri@isti.cnr.it

Constructor Summary
`HintsUtil()`

Method Summary
`static boolean` | `requestsFor(java.lang.String hintName, BasicStorageHints hints)` Checks if a hint has been set and if so, if the value corresponds to the boolean true

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HintsUtil

    public HintsUtil()

Method Detail

### requestsFor

    public static boolean requestsFor(java.lang.String hintName,
                                      BasicStorageHints hints)
                               throws GCUBEUnrecoverableValueNotValidFault

  Checks if a hint has been set and if so, if the value corresponds to the boolean true

  This method has not been placed in BasicStorageHints, because Exception handling is not as layer independend as it should be to place method directly there.

  Parameters:
    `hintName` - the name of a hint
    `hints` - the hints to analyze
  Returns:
    true, if corresponding hint has been set to true; otherwise false will be returned (default value)
  Throws:
    `java.rmi.RemoteException` - if hint value was set to a non-boolean value
    `GCUBEUnrecoverableValueNotValidFault`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD