<commit_before>package org.openspaces.pu.container.servicegrid.sla;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ming
 * Date: Feb 13, 2007
 * Time: 12:50:39 AM
 */
public class SLA {
// ------------------------------ FIELDS ------------------------------

    int numberOfInstances = 1;

    int numberOfBackups = 0;

    boolean isPartitioned = false;

    String clusterSchema;

    Policy policy;

    List requirements;

    int maxInstancesPerVM;

// --------------------- GETTER / SETTER METHODS ---------------------

    public String getClusterSchema() {
        return clusterSchema;
    }

    public void setClusterSchema(String clusterSchema) {
        this.clusterSchema = clusterSchema;
    }

    public int getMaxInstancesPerVM() {
        return maxInstancesPerVM;
    }

    public void setMaxInstancesPerVM(int maxInstancesPerVM) {
        this.maxInstancesPerVM = maxInstancesPerVM;
    }

    public int getNumberOfBackups() {
        return numberOfBackups;
    }

    public void setNumberOfBackups(int numberOfBackups) {
        this.numberOfBackups = numberOfBackups;
    }

    public int getNumberOfInstances() {
        return numberOfInstances;
    }

    public void setNumberOfInstances(int numberOfInstances) {
        this.numberOfInstances = numberOfInstances;
    }

    public Policy getPolicy() {
        return policy;
    }

    public void setPolicy(Policy policy) {
        this.policy = policy;
    }

    public List getRequirements() {
        return requirements;
    }

    public void setRequirements(List requirements) {
        this.requirements = requirements;
    }

// ------------------------ CANONICAL METHODS ------------------------

    public String toString() {
        return "SLA{" +
                "\n\tnumberOfInstances=" + numberOfInstances +
                "\n\tnumberOfBackups=" + numberOfBackups +
                "\n\tclusterSchema='" + clusterSchema + '\'' +
                "\n\tisPartitioned=" + isPartitioned +
                "\n\tpolicy=" + policy +
                "\n}";
    }

// -------------------------- OTHER METHODS --------------------------

    public boolean isPartitioned() {
        return isPartitioned;
    }

    public void setPartitioned(boolean partitioned) {
        isPartitioned = partitioned;
    }
}<commit_msg>removed isPartitioned<commit_after>package org.openspaces.pu.container.servicegrid.sla;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ming
 * Date: Feb 13, 2007
 * Time: 12:50:39 AM
 */
public class SLA {
// ------------------------------ FIELDS ------------------------------

    int numberOfInstances = 1;

    int numberOfBackups = 0;

    String clusterSchema;

    Policy policy;

    List requirements;

    int maxInstancesPerVM;

// --------------------- GETTER / SETTER METHODS ---------------------

    public String getClusterSchema() {
        return clusterSchema;
    }

    public void setClusterSchema(String clusterSchema) {
        this.clusterSchema = clusterSchema;
    }

    public int getMaxInstancesPerVM() {
        return maxInstancesPerVM;
    }

    public void setMaxInstancesPerVM(int maxInstancesPerVM) {
        this.maxInstancesPerVM = maxInstancesPerVM;
    }

    public int getNumberOfBackups() {
        return numberOfBackups;
    }

    public void setNumberOfBackups(int numberOfBackups) {
        this.numberOfBackups = numberOfBackups;
    }

    public int getNumberOfInstances() {
        return numberOfInstances;
    }

    public void setNumberOfInstances(int numberOfInstances) {
        this.numberOfInstances = numberOfInstances;
    }

    public Policy getPolicy() {
        return policy;
    }

    public void setPolicy(Policy policy) {
        this.policy = policy;
    }

    public List getRequirements() {
        return requirements;
    }

    public void setRequirements(List requirements) {
        this.requirements = requirements;
    }

// ------------------------ CANONICAL METHODS ------------------------

    public String toString() {
        return "SLA{" +
                "\n\tnumberOfInstances=" + numberOfInstances +
                "\n\tnumberOfBackups=" + numberOfBackups +
                "\n\tclusterSchema='" + clusterSchema + '\'' +
                "\n\tpolicy=" + policy +
                "\n}";
    }

// -------------------------- OTHER METHODS --------------------------

}
{'fraction_non_alphanumeric': 0.17111815301041194, 'fraction_numerical': 0.006337709370755998, 'mean_word_length': 1.737918215613383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6035854', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1157, 'n_words': 261}