text:
package com.amazonaws.services.glue.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 *
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class SearchTablesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     *

     * A unique identifier, consisting of  account_id .
     *

     */
    private String catalogId;
    /**
     *

     * A continuation token, included if this is a continuation call.
     *

     */
    private String nextToken;
    /**
     *

     * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the
     * predicate.
     *

     *

     * The Comparator member of the PropertyPredicate struct is used only for time fields, and
     * can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a
     * fuzzy match algorithm is used. The Key field (for example, the value of the Name field)
     * is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is
     * exact-match compared with the Value member of PropertyPredicate. For example, if
     * Key=Name and Value=link, tables named customer-link and
     * xx-link-yy are returned, but xxlinkyy is not returned.
     *

     */
    private java.util.List<PropertyPredicate> filters;
    /**
     *

     * A string used for a text search.
     *

     *

     * Specifying a value in quotes filters based on an exact match to the value.
     *

     */
    private String searchText;
    /**
     *

     * A list of criteria for sorting the results by a field name, in an ascending or descending order.
     *

     */
    private java.util.List<SortCriterion> sortCriteria;
    /**
     *

     * The maximum number of tables to return in a single response.
     *

     */
    private Integer maxResults;
    /**
     *

     * Allows you to specify that you want to search the tables shared with your account. The allowable values are
     * FOREIGN or ALL.
     *

     *

     *

     *

     * If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     * If set to ALL, will search the tables shared with your account, as well as the tables in yor local
     * account.
     *

     *

     *

     */
    private String resourceShareType;

    /**
     *

     * A unique identifier, consisting of  account_id .
     *

     *
     * @param catalogId
     *        A unique identifier, consisting of  account_id .
     */

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    /**
     *

     * A unique identifier, consisting of  account_id .
     *

     *
     * @return A unique identifier, consisting of  account_id .
     */

    public String getCatalogId() {
        return this.catalogId;
    }

    /**
     *

     * A unique identifier, consisting of  account_id .
     *

     *
     * @param catalogId
     *        A unique identifier, consisting of  account_id .
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withCatalogId(String catalogId) {
        setCatalogId(catalogId);
        return this;
    }

    /**
     *

     * A continuation token, included if this is a continuation call.
     *

     *
     * @param nextToken
     *        A continuation token, included if this is a continuation call.
     */

    public void setNextToken(String nextToken) {
        this.nextToken = nextToken;
    }

    /**
     *

     * A continuation token, included if this is a continuation call.
     *

     *
     * @return A continuation token, included if this is a continuation call.
     */

    public String getNextToken() {
        return this.nextToken;
    }

    /**
     *

     * A continuation token, included if this is a continuation call.
     *

     *
     * @param nextToken
     *        A continuation token, included if this is a continuation call.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }

    /**
     *

     * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the
     * predicate.
     *

     *

     * The Comparator member of the PropertyPredicate struct is used only for time fields, and
     * can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a
     * fuzzy match algorithm is used. The Key field (for example, the value of the Name field)
     * is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is
     * exact-match compared with the Value member of PropertyPredicate. For example, if
     * Key=Name and Value=link, tables named customer-link and
     * xx-link-yy are returned, but xxlinkyy is not returned.
     *

     *
     * @return A list of key-value pairs, and a comparator used to filter the search results. Returns all entities
     *         matching the predicate.

     *

     *         The Comparator member of the PropertyPredicate struct is used only for time
     *         fields, and can be omitted for other field types. Also, when comparing string values, such as when
     *         Key=Name, a fuzzy match algorithm is used. The Key field (for example, the
     *         value of the Name field) is split on certain punctuation characters, for example, -, :, #,
     *         etc. into tokens. Then each token is exact-match compared with the Value member of
     *         PropertyPredicate. For example, if Key=Name and Value=link, tables
     *         named customer-link and xx-link-yy are returned, but xxlinkyy is
     *         not returned.
     */

    public java.util.List<PropertyPredicate> getFilters() {
        return filters;
    }

    /**
     *

     * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the
     * predicate.
     *

     *

     * The Comparator member of the PropertyPredicate struct is used only for time fields, and
     * can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a
     * fuzzy match algorithm is used. The Key field (for example, the value of the Name field)
     * is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is
     * exact-match compared with the Value member of PropertyPredicate. For example, if
     * Key=Name and Value=link, tables named customer-link and
     * xx-link-yy are returned, but xxlinkyy is not returned.
     *

     *
     * @param filters
     *        A list of key-value pairs, and a comparator used to filter the search results. Returns all entities
     *        matching the predicate.

     *

     *        The Comparator member of the PropertyPredicate struct is used only for time
     *        fields, and can be omitted for other field types. Also, when comparing string values, such as when
     *        Key=Name, a fuzzy match algorithm is used. The Key field (for example, the value
     *        of the Name field) is split on certain punctuation characters, for example, -, :, #, etc.
     *        into tokens. Then each token is exact-match compared with the Value member of
     *        PropertyPredicate. For example, if Key=Name and Value=link, tables
     *        named customer-link and xx-link-yy are returned, but xxlinkyy is
     *        not returned.
     */

    public void setFilters(java.util.Collection<PropertyPredicate> filters) {
        if (filters == null) {
            this.filters = null;
            return;
        }

        this.filters = new java.util.ArrayList<PropertyPredicate>(filters);
    }

    /**
     *

     * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the
     * predicate.
     *

     *

     * The Comparator member of the PropertyPredicate struct is used only for time fields, and
     * can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a
     * fuzzy match algorithm is used. The Key field (for example, the value of the Name field)
     * is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is
     * exact-match compared with the Value member of PropertyPredicate. For example, if
     * Key=Name and Value=link, tables named customer-link and
     * xx-link-yy are returned, but xxlinkyy is not returned.
     *

     *

     * NOTE: This method appends the values to the existing list (if any). Use
     * {@link #setFilters(java.util.Collection)} or {@link #withFilters(java.util.Collection)} if you want to override
     * the existing values.
     *

     *
     * @param filters
     *        A list of key-value pairs, and a comparator used to filter the search results. Returns all entities
     *        matching the predicate.

     *

     *        The Comparator member of the PropertyPredicate struct is used only for time
     *        fields, and can be omitted for other field types. Also, when comparing string values, such as when
     *        Key=Name, a fuzzy match algorithm is used. The Key field (for example, the value
     *        of the Name field) is split on certain punctuation characters, for example, -, :, #, etc.
     *        into tokens. Then each token is exact-match compared with the Value member of
     *        PropertyPredicate. For example, if Key=Name and Value=link, tables
     *        named customer-link and xx-link-yy are returned, but xxlinkyy is
     *        not returned.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withFilters(PropertyPredicate... filters) {
        if (this.filters == null) {
            setFilters(new java.util.ArrayList<PropertyPredicate>(filters.length));
        }
        for (PropertyPredicate ele : filters) {
            this.filters.add(ele);
        }
        return this;
    }

    /**
     *

     * A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the
     * predicate.
     *

     *

     * The Comparator member of the PropertyPredicate struct is used only for time fields, and
     * can be omitted for other field types. Also, when comparing string values, such as when Key=Name, a
     * fuzzy match algorithm is used. The Key field (for example, the value of the Name field)
     * is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is
     * exact-match compared with the Value member of PropertyPredicate. For example, if
     * Key=Name and Value=link, tables named customer-link and
     * xx-link-yy are returned, but xxlinkyy is not returned.
     *

     *
     * @param filters
     *        A list of key-value pairs, and a comparator used to filter the search results. Returns all entities
     *        matching the predicate.

     *

     *        The Comparator member of the PropertyPredicate struct is used only for time
     *        fields, and can be omitted for other field types. Also, when comparing string values, such as when
     *        Key=Name, a fuzzy match algorithm is used. The Key field (for example, the value
     *        of the Name field) is split on certain punctuation characters, for example, -, :, #, etc.
     *        into tokens. Then each token is exact-match compared with the Value member of
     *        PropertyPredicate. For example, if Key=Name and Value=link, tables
     *        named customer-link and xx-link-yy are returned, but xxlinkyy is
     *        not returned.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withFilters(java.util.Collection<PropertyPredicate> filters) {
        setFilters(filters);
        return this;
    }

    /**
     *

     * A string used for a text search.
     *

     *

     * Specifying a value in quotes filters based on an exact match to the value.
     *

     *
     * @param searchText
     *        A string used for a text search.

     *

     *        Specifying a value in quotes filters based on an exact match to the value.
     */

    public void setSearchText(String searchText) {
        this.searchText = searchText;
    }

    /**
     *

     * A string used for a text search.
     *

     *

     * Specifying a value in quotes filters based on an exact match to the value.
     *

     *
     * @return A string used for a text search.

     *

     *         Specifying a value in quotes filters based on an exact match to the value.
     */

    public String getSearchText() {
        return this.searchText;
    }

    /**
     *

     * A string used for a text search.
     *

     *

     * Specifying a value in quotes filters based on an exact match to the value.
     *

     *
     * @param searchText
     *        A string used for a text search.

     *

     *        Specifying a value in quotes filters based on an exact match to the value.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withSearchText(String searchText) {
        setSearchText(searchText);
        return this;
    }

    /**
     *

     * A list of criteria for sorting the results by a field name, in an ascending or descending order.
     *

     *
     * @return A list of criteria for sorting the results by a field name, in an ascending or descending order.
     */

    public java.util.List<SortCriterion> getSortCriteria() {
        return sortCriteria;
    }

    /**
     *

     * A list of criteria for sorting the results by a field name, in an ascending or descending order.
     *

     *
     * @param sortCriteria
     *        A list of criteria for sorting the results by a field name, in an ascending or descending order.
     */

    public void setSortCriteria(java.util.Collection<SortCriterion> sortCriteria) {
        if (sortCriteria == null) {
            this.sortCriteria = null;
            return;
        }

        this.sortCriteria = new java.util.ArrayList<SortCriterion>(sortCriteria);
    }

    /**
     *

     * A list of criteria for sorting the results by a field name, in an ascending or descending order.
     *

     *

     * NOTE: This method appends the values to the existing list (if any). Use
     * {@link #setSortCriteria(java.util.Collection)} or {@link #withSortCriteria(java.util.Collection)} if you want to
     * override the existing values.
     *

     *
     * @param sortCriteria
     *        A list of criteria for sorting the results by a field name, in an ascending or descending order.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withSortCriteria(SortCriterion... sortCriteria) {
        if (this.sortCriteria == null) {
            setSortCriteria(new java.util.ArrayList<SortCriterion>(sortCriteria.length));
        }
        for (SortCriterion ele : sortCriteria) {
            this.sortCriteria.add(ele);
        }
        return this;
    }

    /**
     *

     * A list of criteria for sorting the results by a field name, in an ascending or descending order.
     *

     *
     * @param sortCriteria
     *        A list of criteria for sorting the results by a field name, in an ascending or descending order.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withSortCriteria(java.util.Collection<SortCriterion> sortCriteria) {
        setSortCriteria(sortCriteria);
        return this;
    }

    /**
     *

     * The maximum number of tables to return in a single response.
     *

     *
     * @param maxResults
     *        The maximum number of tables to return in a single response.
     */

    public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }

    /**
     *

     * The maximum number of tables to return in a single response.
     *

     *
     * @return The maximum number of tables to return in a single response.
     */

    public Integer getMaxResults() {
        return this.maxResults;
    }

    /**
     *

     * The maximum number of tables to return in a single response.
     *

     *
     * @param maxResults
     *        The maximum number of tables to return in a single response.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public SearchTablesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }

    /**
     *

     * Allows you to specify that you want to search the tables shared with your account. The allowable values are
     * FOREIGN or ALL.
     *

     *

     *

     *

     * If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     * If set to ALL, will search the tables shared with your account, as well as the tables in yor local
     * account.
     *

     *

     *

     *
     * @param resourceShareType
     *        Allows you to specify that you want to search the tables shared with your account. The allowable values
     *        are FOREIGN or ALL.

     *

     *

     *

     *        If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     *        If set to ALL, will search the tables shared with your account, as well as the tables in yor
     *        local account.
     *

     *

     * @see ResourceShareType
     */

    public void setResourceShareType(String resourceShareType) {
        this.resourceShareType = resourceShareType;
    }

    /**
     *

     * Allows you to specify that you want to search the tables shared with your account. The allowable values are
     * FOREIGN or ALL.
     *

     *

     *

     *

     * If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     * If set to ALL, will search the tables shared with your account, as well as the tables in yor local
     * account.
     *

     *

     *

     *
     * @return Allows you to specify that you want to search the tables shared with your account. The allowable values
     *         are FOREIGN or ALL.

     *

     *

     *

     *         If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     *         If set to ALL, will search the tables shared with your account, as well as the tables in yor
     *         local account.
     *

     *

     * @see ResourceShareType
     */

    public String getResourceShareType() {
        return this.resourceShareType;
    }

    /**
     *

     * Allows you to specify that you want to search the tables shared with your account. The allowable values are
     * FOREIGN or ALL.
     *

     *

     *

     *

     * If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     * If set to ALL, will search the tables shared with your account, as well as the tables in yor local
     * account.
     *

     *

     *

     *
     * @param resourceShareType
     *        Allows you to specify that you want to search the tables shared with your account. The allowable values
     *        are FOREIGN or ALL.

     *

     *

     *

     *        If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     *        If set to ALL, will search the tables shared with your account, as well as the tables in yor
     *        local account.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ResourceShareType
     */

    public SearchTablesRequest withResourceShareType(String resourceShareType) {
        setResourceShareType(resourceShareType);
        return this;
    }

    /**
     *

     * Allows you to specify that you want to search the tables shared with your account. The allowable values are
     * FOREIGN or ALL.
     *

     *

     *

     *

     * If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     * If set to ALL, will search the tables shared with your account, as well as the tables in yor local
     * account.
     *

     *

     *

     *
     * @param resourceShareType
     *        Allows you to specify that you want to search the tables shared with your account. The allowable values
     *        are FOREIGN or ALL.

     *

     *

     *

     *        If set to FOREIGN, will search the tables shared with your account.
     *

     *

     *

     *

     *        If set to ALL, will search the tables shared with your account, as well as the tables in yor
     *        local account.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ResourceShareType
     */

    public SearchTablesRequest withResourceShareType(ResourceShareType resourceShareType) {
        this.resourceShareType = resourceShareType.toString();
        return this;
    }

    /**
     * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
     * redacted from this string using a placeholder value.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getCatalogId() != null)
            sb.append("CatalogId: ").append(getCatalogId()).append(",");
        if (getNextToken() != null)
            sb.append("NextToken: ").append(getNextToken()).append(",");
        if (getFilters() != null)
            sb.append("Filters: ").append(getFilters()).append(",");
        if (getSearchText() != null)
            sb.append("SearchText: ").append(getSearchText()).append(",");
        if (getSortCriteria() != null)
            sb.append("SortCriteria: ").append(getSortCriteria()).append(",");
        if (getMaxResults() != null)
            sb.append("MaxResults: ").append(getMaxResults()).append(",");
        if (getResourceShareType() != null)
            sb.append("ResourceShareType: ").append(getResourceShareType());
        sb.append("}");
        return sb.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof SearchTablesRequest == false)
            return false;
        SearchTablesRequest other = (SearchTablesRequest) obj;
        if (other.getCatalogId() == null ^ this.getCatalogId() == null)
            return false;
        if (other.getCatalogId() != null && other.getCatalogId().equals(this.getCatalogId()) == false)
            return false;
        if (other.getNextToken() == null ^ this.getNextToken() == null)
            return false;
        if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
            return false;
        if (other.getFilters() == null ^ this.getFilters() == null)
            return false;
        if (other.getFilters() != null && other.getFilters().equals(this.getFilters()) == false)
            return false;
        if (other.getSearchText() == null ^ this.getSearchText() == null)
            return false;
        if (other.getSearchText() != null && other.getSearchText().equals(this.getSearchText()) == false)
            return false;
        if (other.getSortCriteria() == null ^ this.getSortCriteria() == null)
            return false;
        if (other.getSortCriteria() != null && other.getSortCriteria().equals(this.getSortCriteria()) == false)
            return false;
        if (other.getMaxResults() == null ^ this.getMaxResults() == null)
            return false;
        if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
            return false;
        if (other.getResourceShareType() == null ^ this.getResourceShareType() == null)
            return false;
        if (other.getResourceShareType() != null && other.getResourceShareType().equals(this.getResourceShareType()) == false)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getCatalogId() == null) ? 0 : getCatalogId().hashCode());
        hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
        hashCode = prime * hashCode + ((getFilters() == null) ? 0 : getFilters().hashCode());
        hashCode = prime * hashCode + ((getSearchText() == null) ? 0 : getSearchText().hashCode());
        hashCode = prime * hashCode + ((getSortCriteria() == null) ? 0 : getSortCriteria().hashCode());
        hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
        hashCode = prime * hashCode + ((getResourceShareType() == null) ? 0 : getResourceShareType().hashCode());
        return hashCode;
    }

    @Override
    public SearchTablesRequest clone() {
        return (SearchTablesRequest) super.clone();
    }

}


text:
class BrowserContextKeyedService;
class Profile;

namespace extensions {
class ExtensionSystem;

// BrowserContextKeyedServiceFactory for ExtensionSystemImpl::Shared.
// Should not be used except by ExtensionSystem(Factory).
class ExtensionSystemSharedFactory : public BrowserContextKeyedServiceFactory {
 public:
  static ExtensionSystemImpl::Shared* GetForProfile(
      Profile* profile);

  static ExtensionSystemSharedFactory* GetInstance();

 private:
  friend struct DefaultSingletonTraits<ExtensionSystemSharedFactory>;

  ExtensionSystemSharedFactory();
  virtual ~ExtensionSystemSharedFactory();

  virtual BrowserContextKeyedService* BuildServiceInstanceFor(
      content::BrowserContext* profile) const OVERRIDE;
  virtual content::BrowserContext* GetBrowserContextToUse(
      content::BrowserContext* context) const OVERRIDE;
};

// BrowserContextKeyedServiceFactory for ExtensionSystem.
class ExtensionSystemFactory : public BrowserContextKeyedServiceFactory {
 public:
  // BrowserContextKeyedServiceFactory implementation:
  static ExtensionSystem* GetForProfile(Profile* profile);

  static ExtensionSystemFactory* GetInstance();

 private:
  friend struct DefaultSingletonTraits<ExtensionSystemFactory>;

  ExtensionSystemFactory();
  virtual ~ExtensionSystemFactory();

  virtual BrowserContextKeyedService* BuildServiceInstanceFor(
      content::BrowserContext* profile) const OVERRIDE;
  virtual content::BrowserContext* GetBrowserContextToUse(
      content::BrowserContext* context) const OVERRIDE;
  virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
};

}  // namespace extensions

#endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_

redpajama_set_name: RedPajamaGithub


text:
<dom-module id="paper-radio-group-demo">
  <template>

Enabled

          <paper-radio-group selected="c">
            <paper-radio-button name="o">Oxygen</paper-radio-button>
            <paper-radio-button name="c">Carbon</paper-radio-button>
            <paper-radio-button name="h">Hydrogen</paper-radio-button>
            <paper-radio-button name="n">Nitrogen</paper-radio-button>
            <paper-radio-button name="ca">Calcium</paper-radio-button>
          </paper-radio-group>

Disabled

          <paper-radio-group selected="c">
            <paper-radio-button name="o">Oxygen</paper-radio-button>
            <paper-radio-button name="c">Carbon</paper-radio-button>
            <paper-radio-button name="h" disabled>Hydrogen</paper-radio-button>
            <paper-radio-button name="n" disabled>Nitrogen</paper-radio-button>
            <paper-radio-button name="ca">Calcium</paper-radio-button>
          </paper-radio-group>

Color

          <paper-radio-group selected="c">
            <paper-radio-button name="o" class="blue">Oxygen</paper-radio-button>
            <paper-radio-button name="c" class="red">Carbon</paper-radio-button>
            <paper-radio-button name="h" class="orange">Hydrogen</paper-radio-button>
            <paper-radio-button name="n" class="green">Nitrogen</paper-radio-button>
            <paper-radio-button name="ca" class="blue">Calcium</paper-radio-button>
          </paper-radio-group>

  </template>
</dom-module>


text:
import { BaseResource } from 'ms-rest-azure';
import { CloudError } from 'ms-rest-azure';
import * as moment from 'moment';

export { BaseResource } from 'ms-rest-azure';
export { CloudError } from 'ms-rest-azure';

/**
 * @class
 * Initializes a new instance of the ErrorDetails class.
 * @constructor
 * The details of the error.
 *
 * @member {string} [code] One of a server-defined set of error codes.
 * @member {string} [message] A human-readable representation of the error.
 */
export interface ErrorDetails {
  code?: string;
  message?: string;
}

/**
 * @class
 * Initializes a new instance of the ErrorResponse class.
 * @constructor
 * The error object.
 *
 * @member {object} [error] Error.
 * @member {string} [error.code] One of a server-defined set of error codes.
 * @member {string} [error.message] A human-readable representation of the
 * error.
 */
export interface ErrorResponse {
  error?: ErrorDetails;
}

/**
 * @class
 * Initializes a new instance of the OperationDisplay class.
 * @constructor
 * The object that represents the operation.
 *
 * @member {string} [provider] The name of the provider.
 * @member {string} [resource] The resource on which the operation is
 * performed.
 * @member {string} [operation] The operation that can be performed.
 * @member {string} [description] Operation description.
 */
export interface OperationDisplay {
  readonly provider?: string;
  readonly resource?: string;
  readonly operation?: string;
  readonly description?: string;
}

/**
 * @class
 * Initializes a new instance of the Operation class.
 * @constructor
 * Operation supported by the Microsoft.Management resource provider.
 *
 * @member {string} [name] Operation name: {provider}/{resource}/{operation}.
 * @member {object} [display] The object that represents the operation.
 * @member {string} [display.provider] The name of the provider.
 * @member {string} [display.resource] The resource on which the operation is
 * performed.
 * @member {string} [display.operation] The operation that can be performed.
 * @member {string} [display.description] Operation description.
 */
export interface Operation {
  readonly name?: string;
  display?: OperationDisplay;
}

/**
 * @class
 * Initializes a new instance of the ManagementGroupInfo class.
 * @constructor
 * The management group resource.
 *
 * @member {string} [id] The fully qualified ID for the management group.  For
 * example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [type] The type of the resource. For example,
 * /providers/Microsoft.Management/managementGroups
 * @member {string} [name] The name of the management group. For example,
 * 00000000-0000-0000-0000-000000000000
 * @member {string} [tenantId] The AAD Tenant ID associated with the management
 * group. For example, 00000000-0000-0000-0000-000000000000
 * @member {string} [displayName] The friendly name of the management group.
 */
export interface ManagementGroupInfo {
  readonly id?: string;
  readonly type?: string;
  readonly name?: string;
  tenantId?: string;
  displayName?: string;
}

/**
 * @class
 * Initializes a new instance of the ParentGroupInfo class.
 * @constructor
 * (Optional) The ID of the parent management group.
 *
 * @member {string} [parentId] The fully qualified ID for the parent management
 * group.  For example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [displayName] The friendly name of the parent management
 * group.
 */
export interface ParentGroupInfo {
  parentId?: string;
  displayName?: string;
}

/**
 * @class
 * Initializes a new instance of the ManagementGroupDetails class.
 * @constructor
 * The details of a management group.
 *
 * @member {number} [version] The version number of the object.
 * @member {date} [updatedTime] The date and time when this object was last
 * updated.
 * @member {string} [updatedBy] The identity of the principal or process that
 * updated the object.
 * @member {object} [parent] Parent.
 * @member {string} [parent.parentId] The fully qualified ID for the parent
 * management group.  For example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [parent.displayName] The friendly name of the parent
 * management group.
 */
export interface ManagementGroupDetails {
  version?: number;
  updatedTime?: Date;
  updatedBy?: string;
  parent?: ParentGroupInfo;
}

/**
 * @class
 * Initializes a new instance of the ManagementGroupChildInfo class.
 * @constructor
 * The child information of a management group.
 *
 * @member {string} [childType] The type of child resource. Possible values
 * include: 'ManagementGroup', 'Subscription'
 * @member {string} [childId] The fully qualified ID for the child resource
 * (management group or subscription).  For example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [displayName] The friendly name of the child resource.
 * @member {array} [children] The list of children.
 */
export interface ManagementGroupChildInfo {
  childType?: string;
  childId?: string;
  displayName?: string;
  children?: ManagementGroupChildInfo[];
}

/**
 * @class
 * Initializes a new instance of the ManagementGroup class.
 * @constructor
 * The management group details.
 *
 * @member {string} [id] The fully qualified ID for the management group.  For
 * example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [type] The type of the resource.  For example,
 * /providers/Microsoft.Management/managementGroups
 * @member {string} [name] The name of the management group. For example,
 * 00000000-0000-0000-0000-000000000000
 * @member {string} [tenantId] The AAD Tenant ID associated with the management
 * group. For example, 00000000-0000-0000-0000-000000000000
 * @member {string} [displayName] The friendly name of the management group.
 * @member {object} [details] Details.
 * @member {number} [details.version] The version number of the object.
 * @member {date} [details.updatedTime] The date and time when this object was
 * last updated.
 * @member {string} [details.updatedBy] The identity of the principal or
 * process that updated the object.
 * @member {object} [details.parent]
 * @member {string} [details.parent.parentId] The fully qualified ID for the
 * parent management group.  For example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 * @member {string} [details.parent.displayName] The friendly name of the
 * parent management group.
 * @member {array} [children] The list of children.
 */
export interface ManagementGroup extends BaseResource {
  readonly id?: string;
  readonly type?: string;
  readonly name?: string;
  tenantId?: string;
  displayName?: string;
  details?: ManagementGroupDetails;
  children?: ManagementGroupChildInfo[];
}

/**
 * @class
 * Initializes a new instance of the CreateManagementGroupRequest class.
 * @constructor
 * Management group creation parameters.
 *
 * @member {string} [displayName] The friendly name of the management group.
 * @member {string} [parentId] (Optional) The fully qualified ID for the parent
 * management group.  For example,
 * /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
 */
export interface CreateManagementGroupRequest {
  displayName?: string;
  parentId?: string;
}

/**
 * @class
 * Initializes a new instance of the ManagementGroupListResult class.
 * @constructor
 * Describes the result of the request to list management groups.
 *
 * @member {string} [nextLink] The URL to use for getting the next set of
 * results.
 */
export interface ManagementGroupListResult extends Array<ManagementGroupInfo> {
  readonly nextLink?: string;
}

/**
 * @class
 * Initializes a new instance of the OperationListResult class.
 * @constructor
 * Describes the result of the request to list Microsoft.Management operations.
 *
 * @member {string} [nextLink] URL to get the next set of operation list
 * results if there are any.
 */
export interface OperationListResult extends Array<Operation> {
  readonly nextLink?: string;
}


text:
export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:./"
java -jar @TARGET_FILE_NAME@


text:
import csv
from collections import OrderedDict

from django.http.response import HttpResponse
from django.shortcuts import get_object_or_404, render
from django.views.generic.edit import FormView
from molo.polls.models import Question

class QuestionResultsAdminView(FormView):
    def get(self, request, *args, **kwargs):
        parent = kwargs['parent']
        question = get_object_or_404(Question, pk=parent)

        data_headings = ['Submission Date', 'Answer', 'User']
        data_rows = []

        if hasattr(question, 'freetextquestion'):
            votes = question.freetextquestion.freetextvote_set.all()
        else:
            votes = question.choicevote_set.all()

        for vote in votes:
            data_rows.append(OrderedDict({
                'submission_date': vote.submission_date,
                'answer': vote.answer,
                'user': vote.user
            }))

        action = request.GET.get('action', None)
        if action == 'download':
            return self.send_csv(question.title, data_headings, data_rows)

        context = {
            'page_title': question.title,
            'data_headings': ['Submission Date', 'Answer', 'User'],
            'data_rows': data_rows
        }

        return render(request, 'admin/question_results.html', context)

    def send_csv(self, question_title, data_headings, data_rows):
        response = HttpResponse(content_type='text/csv')
        response['Content-Disposition'] = \
            'attachment;filename="question-{0}-results.csv"'.format(
                question_title)

        writer = csv.writer(response)
        writer.writerow(data_headings)

        for item in data_rows:
            writer.writerow(item.values())

        return response


text:
import Component from '@ember/component';
import layout from '../../../../../../templates/components/bootstrap/tables/body/row/actions/-delete';

export default Component.extend({
  layout,
  tagName: '',
});


text:
import json
import logging
from typing import Any, Dict, List, Optional, Set
import unittest

from flask import Flask, Response
from flask.testing import FlaskClient
from flask_appbuilder import AppBuilder, SQLA
from flask_appbuilder.const import (
    API_SECURITY_PASSWORD_KEY,
    API_SECURITY_PROVIDER_KEY,
    API_SECURITY_REFRESH_KEY,
    API_SECURITY_USERNAME_KEY,
    API_SECURITY_VERSION,
)
import jinja2

class FABTestCase(unittest.TestCase):
    @staticmethod
    def auth_client_get(client, token, uri):
        return client.get(uri, headers={"Authorization": f"Bearer {token}"})

    @staticmethod
    def auth_client_delete(client, token, uri):
        return client.delete(uri, headers={"Authorization": f"Bearer {token}"})

    @staticmethod
    def auth_client_put(client, token, uri, json):
        return client.put(uri, json=json, headers={"Authorization": f"Bearer {token}"})

    @staticmethod
    def auth_client_post(client, token, uri, json):
        return client.post(uri, json=json, headers={"Authorization": f"Bearer {token}"})

    @staticmethod
    def _login(client, username, password, refresh: bool = False):
        """
            Login help method
        :param client: Flask test client
        :param username: username
        :param password: password
        :return: Flask client response class
        """
        return client.post(
            f"api/{API_SECURITY_VERSION}/security/login",
            json={
                API_SECURITY_USERNAME_KEY: username,
                API_SECURITY_PASSWORD_KEY: password,
                API_SECURITY_PROVIDER_KEY: "db",
                API_SECURITY_REFRESH_KEY: refresh,
            },
        )

    def login(self, client, username, password):
        rv = self._login(client, username, password)
        try:
            return json.loads(rv.data.decode("utf-8")).get("access_token")
        except Exception:
            return rv

    def browser_login(
        self,
        client: FlaskClient,
        username: str,
        password: str,
        next_url: Optional[str] = None,
        follow_redirects: bool = True,
    ) -> Response:
        login_url = "/login/"
        if next_url:
            login_url = f"{login_url}?next={next_url}"
        return client.post(
            login_url,
            data=dict(username=username, password=password),
            follow_redirects=follow_redirects,
        )

    def assert_response(
        self,
        response: List[Dict[str, Any]],
        expected_results: List[Dict[str, Any]],
        exclude_cols: Optional[List[str]] = None,
    ):
        exclude_cols = exclude_cols or []
        for idx, expected_result in enumerate(expected_results):
            for field_name, field_value in expected_result.items():
                if field_name not in exclude_cols:
                    self.assertEqual(
                        response[idx][field_name], expected_result[field_name]
                    )

    @staticmethod
    def browser_logout(client):
        return client.get("/logout/")

    def create_admin_user(self, appbuilder, username, password):
        self.create_user(appbuilder, username, password, "Admin")

    @staticmethod
    def create_user(
        appbuilder,
        username,
        password,
        role_name,
        first_name="admin",
        last_name="user",
        email="admin@fab.org",
        role_names=None,
    ):
        roles = (
            [appbuilder.sm.find_role(role_name) for role_name in role_names]
            if role_names
            else [appbuilder.sm.find_role(role_name)]
        )
        return appbuilder.sm.add_user(
            username, first_name, last_name, email, roles, password
        )

class BaseMVCTestCase(FABTestCase):
    def setUp(self):
        self.app = Flask(__name__)
        self.app.jinja_env.undefined = jinja2.StrictUndefined
        self.app.config.from_object("flask_appbuilder.tests.config_api")
        logging.basicConfig(level=logging.ERROR)

        self.db = SQLA(self.app)
        self.appbuilder = AppBuilder(self.app, self.db.session)

    @property
    def registered_endpoints(self) -> Set:
        return {item.endpoint for item in self.app.url_map.iter_rules()}

    def get_registered_view_endpoints(self, view_name) -> Set:
        return {
            item.endpoint
            for item in self.app.url_map.iter_rules()
            if item.endpoint.split(".")[0] == view_name
        }


text:
import React from "react";

import {
  Appear, BlockQuote, Cite, CodePane, Deck, Fill,
  Heading, Image, Layout, Link, ListItem, List, Markdown, Quote, Slide, Spectacle, Text
} from "../src";

import preloader from "../src/utils/preloader";

import createTheme from "../src/themes/default";

import Interactive from "../assets/interactive";

require("normalize.css");
require("../src/themes/default/index.css");

const images = {
  city: require("../assets/city.jpg"),
  kat: require("../assets/kat.png"),
  logo: require("../assets/formidable-logo.svg"),
  markdown: require("../assets/markdown.png")
};

preloader(images);

const theme = createTheme({
  primary: "#ff4081"
});

export default class Presentation extends React.Component {
  render() {
    return (
      <Spectacle theme={theme}>
        <Deck transition={["zoom", "slide"]} transitionDuration={500}>
          <Slide transition={["zoom"]} bgColor="primary">
            <Heading size={1} fit caps lineHeight={1} textColor="black">
              Spectacle
            </Heading>
            <Heading size={1} fit caps>
              A ReactJS Presentation Library
            </Heading>
            <Heading size={1} fit caps textColor="black">
              Where You Can Write Your Decks In JSX
            </Heading>
            <Link href="https://github.com/FormidableLabs/spectacle">
              <Text bold caps textColor="tertiary">View on Github</Text>
            </Link>
            <Text textSize="1.5em" margin="20px 0px 0px" bold>Hit Your Right Arrow To Begin!</Text>
          </Slide>
          <Slide transition={["slide"]} bgColor="black" notes="You can even put notes on your slide. How awesome is that?">
            <Image src={images.kat.replace("/", "")} margin="0px auto 40px" height="293px"/>
            <Heading size={2} caps fit textColor="primary" textFont="primary">
              Wait what?
            </Heading>
          </Slide>
          <Slide transition={["zoom", "fade"]} bgColor="primary" notes="

talk about that

and that

">
            <CodePane
              lang="jsx"
              source={require("raw!../assets/deck.example")}
              margin="20px auto"
            />
          </Slide>
          <Slide transition={["slide"]} bgImage={images.city.replace("/", "")} bgDarken={0.75}>
            <Appear fid="1">
              <Heading size={1} caps fit textColor="primary">
                Full Width
              </Heading>
            </Appear>
            <Appear fid="2">
              <Heading size={1} caps fit textColor="tertiary">
                Adjustable Darkness
              </Heading>
            </Appear>
            <Appear fid="3">
              <Heading size={1} caps fit textColor="primary">
                Background Imagery
              </Heading>
            </Appear>
          </Slide>
          <Slide transition={["zoom", "fade"]} bgColor="primary">
            <Heading caps fit>Flexible Layouts</Heading>
            <Layout>
              <Fill>
                <Heading size={4} caps textColor="secondary" bgColor="white" margin={10}>
                  Left
                </Heading>
              </Fill>
              <Fill>
                <Heading size={4} caps textColor="secondary" bgColor="white" margin={10}>
                  Right
                </Heading>
              </Fill>
            </Layout>
          </Slide>
          <Slide transition={["slide"]} bgColor="black">

              <Quote>Wonderfully formatted quotes</Quote>
              Ken Wheeler

          </Slide>
          <Slide transition={["spin", "zoom"]} bgColor="tertiary">
            <Heading caps fit size={1} textColor="primary">
              Inline Markdown
            </Heading>
            <Markdown>
              {`
![Markdown Logo](${images.markdown.replace("/", "")})

You can write inline images, [Markdown Links](http://commonmark.org), paragraph text and most other markdown syntax
* Lists too!
* With ~~strikethrough~~ and _italic_
* And let's not forget **bold**
              `}
            </Markdown>
          </Slide>
          <Slide transition={["slide", "spin"]} bgColor="primary">
            <Heading caps fit size={1} textColor="tertiary">
              Smooth
            </Heading>
            <Heading caps fit size={1} textColor="secondary">
              Combinable Transitions
            </Heading>
          </Slide>
          <Slide transition={["fade"]} bgColor="secondary" textColor="primary">
            <List>
              <Appear><ListItem>Inline style based theme system</ListItem></Appear>
              <Appear><ListItem>Autofit text</ListItem></Appear>
              <Appear><ListItem>Flexbox layout system</ListItem></Appear>
              <Appear><ListItem>PDF export</ListItem></Appear>
              <Appear><ListItem>And...</ListItem></Appear>
            </List>
          </Slide>
          <Slide transition={["slide"]} bgColor="primary">
            <Heading size={1} caps fit textColor="tertiary">
              Your presentations are interactive
            </Heading>
            <Interactive/>
          </Slide>
          <Slide transition={["spin", "slide"]} bgColor="tertiary">
            <Heading size={1} caps fit lineHeight={1.5} textColor="primary">
              Made with love in Seattle by
            </Heading>
            <Link href="http://www.formidable.com"><Image width="100%" src={images.logo}/></Link>
          </Slide>
        </Deck>
      </Spectacle>
    );
  }
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<template context="Chamilo\Core\Repository\ContentObject\OrderingQuestion">
    <properties>
        <name>Default</name>
    </properties>
    <translations>
        <variable value="TypeName">
            <translation language="en">Ordering question</translation>
            <translation language="nl">Volgorde vraag</translation>
            <translation language="fr">Question d'ordre</translation>
            <translation language="de">Frage bestellen</translation>
        </variable>
    </translations>
</template>


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
TargetSourceCreator (Spring Framework API 2.5)
</TITLE>

<META NAME="date" CONTENT="2007-11-19">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
    Class
      Use
      Tree
      Deprecated
      Index
      Help

The Spring Framework

 PREV CLASS
 NEXT CLASS

  FRAMES
 NO FRAMES

  All Classes

  SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

org.springframework.aop.framework.autoproxy

Interface TargetSourceCreator

All Known Implementing Classes:
AbstractBeanFactoryBasedTargetSourceCreator, LazyInitTargetSourceCreator, QuickTargetSourceCreator

public interface TargetSourceCreator

Implementations can create special target sources, such as pooling target
 sources, for particular beans. For example, they may base their choice
 on attributes, such as a pooling attribute, on the target class.

AbstractAutoProxyCreator can support a number of TargetSourceCreators,
 which will be applied in order.

Author:

Rod Johnson, Juergen Hoeller

Method Summary

 TargetSource
getTargetSource(Class beanClass,
                String beanName)

          Create a special TargetSource for the given bean, if any.

Method Detail

getTargetSource

TargetSource getTargetSource(Class beanClass,
                             String beanName)

Create a special TargetSource for the given bean, if any.

Parameters:
beanClass - the class of the bean to create a TargetSource for
beanName - the name of the bean

Returns:
a special TargetSource or null if this TargetSourceCreator isn't
 interested in the particular bean

      Overview
      Package
    Class
      Use
      Tree
      Deprecated
      Index
      Help

The Spring Framework

 PREV CLASS
 NEXT CLASS

  FRAMES
 NO FRAMES

  All Classes

  SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2007 The Spring Framework.


text:
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

class MX_Loader extends CI_Loader
{
	protected $_module;

	public $_ci_plugins = array();
	public $_ci_cached_vars = array();

	public function __construct() {

		parent::__construct();

		/* set the module name */
		$this->_module = CI::$APP->router->fetch_module();

		/* add this module path to the loader variables */
		$this->_add_module_paths($this->_module);
	}

	/** Initialize the module **/
	public function _init($controller) {

		/* references to ci loader variables */
		foreach (get_class_vars('CI_Loader') as $var => $val) {
			if ($var != '_ci_ob_level') $this->$var =& CI::$APP->load->$var;
		}

		/* set a reference to the module controller */
 		$this->controller = $controller;
 		$this->__construct();
	}

	/** Add a module path loader variables **/
	public function _add_module_paths($module = '') {

		if (empty($module)) return;

		foreach (Modules::$locations as $location => $offset) {

			/* only add a module path if it exists */
			if (is_dir($module_path = $location.$module.'/')) {
				array_unshift($this->_ci_model_paths, $module_path);
			}
		}
	}

	/** Load a module config file **/
	public function config($file = 'config', $use_sections = FALSE, $fail_gracefully = FALSE) {
		return CI::$APP->config->load($file, $use_sections, $fail_gracefully, $this->_module);
	}

	/** Load the database drivers **/
	public function database($params = '', $return = FALSE, $active_record = NULL) {

		if (class_exists('CI_DB', FALSE) AND $return == FALSE AND $active_record == NULL AND isset(CI::$APP->db) AND is_object(CI::$APP->db))
			return;

		require_once BASEPATH.'database/DB'.EXT;

		if ($return === TRUE) return DB($params, $active_record);

		CI::$APP->db = DB($params, $active_record);

		return CI::$APP->db;
	}

	/** Load a module helper **/
	public function helper($helper) {

		if (is_array($helper)) return $this->helpers($helper);

		if (isset($this->_ci_helpers[$helper]))	return;

		list($path, $_helper) = Modules::find($helper.'_helper', $this->_module, 'helpers/');

		if ($path === FALSE) return parent::helper($helper);

		Modules::load_file($_helper, $path);
		$this->_ci_helpers[$_helper] = TRUE;
	}

	/** Load an array of helpers **/
	public function helpers($helpers) {
		foreach ($helpers as $_helper) $this->helper($_helper);
	}

	/** Load a module language file **/
	public function language($langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '') {
		return CI::$APP->lang->load($langfile, $idiom, $return, $add_suffix, $alt_path, $this->_module);
	}

	public function languages($languages) {
		foreach($languages as $_language) $this->language($_language);
	}

	/** Load a module library **/
	public function library($library = '', $params = NULL, $object_name = NULL) {

		if (is_array($library)) return $this->libraries($library);

		$class = strtolower(basename($library));

		if (isset($this->_ci_classes[$class]) AND $_alias = $this->_ci_classes[$class])
			return CI::$APP->$_alias;

		($_alias = strtolower($object_name)) OR $_alias = $class;

		list($path, $_library) = Modules::find($library, $this->_module, 'libraries/');

		/* load library config file as params */
		if ($params == NULL) {
			list($path2, $file) = Modules::find($_alias, $this->_module, 'config/');
			($path2) AND $params = Modules::load_file($file, $path2, 'config');
		}

		if ($path === FALSE) {

			$this->_ci_load_class($library, $params, $object_name);
			$_alias = $this->_ci_classes[$class];

		} else {

			Modules::load_file($_library, $path);

			$library = ucfirst($_library);
			CI::$APP->$_alias = new $library($params);

			$this->_ci_classes[$class] = $_alias;
		}

		return CI::$APP->$_alias;
    }

	/** Load an array of libraries **/
	public function libraries($libraries) {
		foreach ($libraries as $_library) $this->library($_library);
	}

	/** Load a module model **/
	public function model($model, $object_name = NULL, $connect = FALSE) {

		if (is_array($model)) return $this->models($model);

		($_alias = $object_name) OR $_alias = basename($model);

		if (in_array($_alias, $this->_ci_models, TRUE))
			return CI::$APP->$_alias;

		/* check module */
		list($path, $_model) = Modules::find(strtolower($model), $this->_module, 'models/');

		if ($path == FALSE) {

			/* check application & packages */
			parent::model($model, $object_name);

		} else {

			class_exists('CI_Model', FALSE) OR load_class('Model', 'core');

			if ($connect !== FALSE AND ! class_exists('CI_DB', FALSE)) {
				if ($connect === TRUE) $connect = '';
				$this->database($connect, FALSE, TRUE);
			}

			Modules::load_file($_model, $path);

			$model = ucfirst($_model);
			CI::$APP->$_alias = new $model();

			$this->_ci_models[] = $_alias;
		}

		return CI::$APP->$_alias;
	}

	/** Load an array of models **/
	public function models($models) {
		foreach ($models as $_model) $this->model($_model);
	}

	/** Load a module controller **/
	public function module($module, $params = NULL)	{

		if (is_array($module)) return $this->modules($module);

		$_alias = strtolower(basename($module));
		CI::$APP->$_alias = Modules::load(array($module => $params));
		return CI::$APP->$_alias;
	}

	/** Load an array of controllers **/
	public function modules($modules) {
		foreach ($modules as $_module) $this->module($_module);
	}

	/** Load a module plugin **/
	public function plugin($plugin)	{

		if (is_array($plugin)) return $this->plugins($plugin);

		if (isset($this->_ci_plugins[$plugin]))
			return;

		list($path, $_plugin) = Modules::find($plugin.'_pi', $this->_module, 'plugins/');

		if ($path === FALSE AND ! is_file($_plugin = APPPATH.'plugins/'.$_plugin.EXT)) {
			show_error("Unable to locate the plugin file: {$_plugin}");
		}

		Modules::load_file($_plugin, $path);
		$this->_ci_plugins[$plugin] = TRUE;
	}

	/** Load an array of plugins **/
	public function plugins($plugins) {
		foreach ($plugins as $_plugin) $this->plugin($_plugin);
	}

	/** Load a module view **/
	public function view($view, $vars = array(), $return = FALSE) {
		list($path, $_view) = Modules::find($view, $this->_module, 'views/');

		if ($path != FALSE) {
			$this->_ci_view_paths = array($path => TRUE) + $this->_ci_view_paths;
			$view = $_view;
		}

		return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
	}

	public function _ci_is_instance() {}

	public function _ci_get_component($component) {
		return CI::$APP->$component;
	}

	public function __get($class) {
		return (isset($this->controller)) ? $this->controller->$class : CI::$APP->$class;
	}

	public function _ci_load($_ci_data) {

		extract($_ci_data);

		if (isset($_ci_view)) {

			$_ci_path = '';
			$_ci_file = strpos($_ci_view, '.') ? $_ci_view : $_ci_view.EXT;

			foreach ($this->_ci_view_paths as $path => $cascade) {
				if (file_exists($view = $path.$_ci_file)) {
					$_ci_path = $view;
					break;
				}

				if ( ! $cascade) break;
			}

		} elseif (isset($_ci_path)) {

			$_ci_file = basename($_ci_path);
			if( ! file_exists($_ci_path)) $_ci_path = '';
		}

		if (empty($_ci_path))
			show_error('Unable to load the requested file: '.$_ci_file);

		if (isset($_ci_vars))
			$this->_ci_cached_vars = array_merge($this->_ci_cached_vars, (array) $_ci_vars);

		extract($this->_ci_cached_vars);

		ob_start();

		if ((bool) @ini_get('short_open_tag') === FALSE AND CI::$APP->config->item('rewrite_short_tags') == TRUE) {
			echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
		} else {
			include($_ci_path);
		}

		log_message('debug', 'File loaded: '.$_ci_path);

		if ($_ci_return == TRUE) return ob_get_clean();

		if (ob_get_level() > $this->_ci_ob_level + 1) {
			ob_end_flush();
		} else {
			CI::$APP->output->append_output(ob_get_clean());
		}
	}

	/** Autoload module items **/
	public function _autoloader($autoload) {

		$path = FALSE;

		if ($this->_module) {

			list($path, $file) = Modules::find('constants', $this->_module, 'config/');

			/* module constants file */
			if ($path != FALSE) {
				include_once $path.$file.EXT;
			}

			list($path, $file) = Modules::find('autoload', $this->_module, 'config/');

			/* module autoload file */
			if ($path != FALSE) {
				$autoload = array_merge(Modules::load_file($file, $path, 'autoload'), $autoload);
			}
		}

		/* nothing to do */
		if (count($autoload) == 0) return;

		/* autoload package paths */
		if (isset($autoload['packages'])) {
			foreach ($autoload['packages'] as $package_path) {
				$this->add_package_path($package_path);
			}
		}

		/* autoload config */
		if (isset($autoload['config'])) {
			foreach ($autoload['config'] as $config) {
				$this->config($config);
			}
		}

		/* autoload helpers, plugins, languages */
		foreach (array('helper', 'plugin', 'language') as $type) {
			if (isset($autoload[$type])){
				foreach ($autoload[$type] as $item) {
					$this->$type($item);
				}
			}
		}

		/* autoload database & libraries */
		if (isset($autoload['libraries'])) {
			if (in_array('database', $autoload['libraries'])) {
				/* autoload database */
				if ( ! $db = CI::$APP->config->item('database')) {
					$db['params'] = 'default';
					$db['active_record'] = TRUE;
				}
				$this->database($db['params'], FALSE, $db['active_record']);
				$autoload['libraries'] = array_diff($autoload['libraries'], array('database'));
			}

			/* autoload libraries */
			foreach ($autoload['libraries'] as $library) {
				$this->library($library);
			}
		}

		/* autoload models */
		if (isset($autoload['model'])) {
			foreach ($autoload['model'] as $model => $alias) {
				(is_numeric($model)) ? $this->model($alias) : $this->model($model, $alias);
			}
		}

		/* autoload module controllers */
		if (isset($autoload['modules'])) {
			foreach ($autoload['modules'] as $controller) {
				($controller != $this->_module) AND $this->module($controller);
			}
		}
	}
}

/** load the CI class for Modular Separation **/
(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';


text:
package com.hpe.application.automation.tools.model;

import org.kohsuke.stapler.DataBoundConstructor;

public class SvUndeployModel extends AbstractSvRunModel {

    protected final boolean continueIfNotDeployed;

    @DataBoundConstructor
    public SvUndeployModel(String serverName, boolean continueIfNotDeployed, boolean force, SvServiceSelectionModel serviceSelection) {
        super(serverName, force, serviceSelection);
        this.continueIfNotDeployed = continueIfNotDeployed;
    }

    public boolean isContinueIfNotDeployed() {
        return continueIfNotDeployed;
    }
}


text:
namespace OAuthClientExt.VKontakte
{
    internal static class Constants
    {
        public const string DefaultAuthenticationType = "Vkontakte";
    }
}