public final class Utilities
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
bitVectorToString(int bitVector,
int[] masks,
java.lang.String[] maskNames) |
static java.lang.Long[] |
getLocalIdsAsLongs(LocalId[] lids_) |
static java.lang.Integer |
getSortOrder(boolean ascending_) |
static boolean |
isBitFlagSet(int bitFlags,
int bitMask)
Tests if the bit flag is set.
|
static int |
setBitFlag(int bitFlags,
boolean booleanValue,
int bitMask)
Sets the bit flag if
booleanValue is true ,
resets the flag otherwise. |
static boolean |
validateURLExistance(java.lang.String context_,
java.lang.String server_,
java.lang.String adrr_)
Validates that a URL is reachable.
|
static boolean |
validateURLExistance(java.lang.String context_,
java.lang.String server_,
java.lang.String adrr_,
java.lang.String sessionId_)
Validates that a URL is reachable.
|
public static java.lang.Long[] getLocalIdsAsLongs(LocalId[] lids_)
public static java.lang.Integer getSortOrder(boolean ascending_)
public static boolean validateURLExistance(java.lang.String context_, java.lang.String server_, java.lang.String adrr_)
context_
- server_
- adrr_
- The relative pathpublic static boolean validateURLExistance(java.lang.String context_, java.lang.String server_, java.lang.String adrr_, java.lang.String sessionId_)
context_
- server_
- adrr_
- The relative pathsessionId_
- A valid session id.public static boolean isBitFlagSet(int bitFlags, int bitMask)
bitMask
- a mask of the flag to testpublic static int setBitFlag(int bitFlags, boolean booleanValue, int bitMask)
booleanValue
is true
,
resets the flag otherwise.bitFlags
- bit flagsbooleanValue
- true to set the flag, reset otherwise.bitMask
- a bit mask of the flag to set.public static java.lang.String bitVectorToString(int bitVector, int[] masks, java.lang.String[] maskNames)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.