<commit_before>package org.carlspring.strongbox.cron.domain;

import org.carlspring.strongbox.xml.PropertiesAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.springframework.util.Assert;

/**
 * @author Yougeshwar
 * @author <NAME>
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class CronTaskConfigurationDto
        implements Serializable
{

    @XmlElement(name = "uuid", required = true)
    private String uuid;

    @XmlElement(name = "name", required = true)
    private String name;

    @XmlElement(name = "properties")
    @XmlJavaTypeAdapter(PropertiesAdapter.class)
    private Map<String, String> properties = new HashMap<>();

    @XmlElement(name = "one-time-execution")
    private boolean oneTimeExecution = false;

    @XmlElement(name = "immediate-execution")
    private boolean immediateExecution = false;

<commit_msg>Issue-965: Fix compilation error.<commit_after>package org.carlspring.strongbox.cron.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.springframework.util.Assert;

/**
 * @author Yougeshwar
 * @author <NAME>
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class CronTaskConfigurationDto
        implements Serializable
{

    @XmlElement(name = "uuid", required = true)
    private String uuid;

    @XmlElement(name = "name", required = true)
    private String name;

    @XmlElement(name = "properties")
    private Map<String, String> properties = new HashMap<>();

    @XmlElement(name = "one-time-execution")
    private boolean oneTimeExecution = false;

    @XmlElement(name = "immediate-execution")
    private boolean immediateExecution = false;


{'fraction_non_alphanumeric': 0.10942528735632184, 'fraction_numerical': 0.001379310344827586, 'mean_word_length': 4.849462365591398, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '4561412', 'n_tokens_mistral': 641, 'n_tokens_neox': 628, 'n_words': 134}