src/main/java/com/xceptance/neodymium/util/Neodymium.java
/**
     * Validates if the currently configured site is equal to one or more Strings.
     * 
     * @param sites
     *            Names of the sites
     * @return boolean value indicating whether the configured site is matching one of the given Strings
     * @see Neodymium
     */
Validates if the currently configured site is equal to one or more Strings.

@param sites
Names of the sites
@return boolean value indicating whether the configured site is matching one of the given Strings
@see Neodymium
Validates if the currently configured site is equal to one or more Strings . @param sites Names of the sites @return boolean value indicating whether the configured site is matching one of the given Strings @see Neodymium
public static boolean isSite(String... sites)
    {
        if (Neodymium.configuration().site() == null)
        {
            return false;
        }
        for (int i = 0; i < sites.length; i++)
        {
            if (Neodymium.configuration().site().equals(sites[i]))
            {
                return true;
            }
        }
        return false;
    }
public static boolean isSite ( String ... sites ) { if ( Neodymium . configuration ( ) . site ( ) == null ) { return false ; } for ( int i = 0 ; i < sites . length ; i ++ ) { if ( Neodymium . configuration ( ) . site ( ) . equals ( sites [ i ] ) ) { return true ; } } return false ; }
Validates if the currently configured site is equal to one or more Strings.
Validates if the currently configured site is equal to one or more Strings .