// Path: bootique-job/src/main/java/io/bootique/job/value/Cron.java
// public class Cron {
// 
// 	private String expression;
// 
// 	public Cron(String expression) {
// 		this.expression = expression;
// 	}
// 
// 	@JsonValue
// 	public String getExpression() {
// 		return expression;
// 	}
// 
// 	@Override
// 	public boolean equals(Object o) {
// 		if (this == o) return true;
// 		if (o == null || getClass() != o.getClass()) return false;
// 		Cron cron = (Cron) o;
// 		return Objects.equals(expression, cron.expression);
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		if (expression == null) {
// 			return 0;
// 		}
// 
// 		return Objects.hash(expression);
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "Cron {" +
// 				"expression='" + expression + '\'' +
// 				'}';
// 	}
// }


import io.bootique.annotation.BQConfig;
import io.bootique.annotation.BQConfigProperty;
import io.bootique.job.value.Cron;
import io.bootique.value.Duration;
import java.util.Collections;
import java.util.Map;
import java.util.UUID;
/*
 * Licensed to ObjectStyle LLC under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ObjectStyle LLC licenses
 * this file to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package io.bootique.job.scheduler;



@BQConfig("Trigger of one of the following flavors: cron, periodic, fixed-rate.")
public class TriggerDescriptor {

// Path: bootique-job/src/main/java/io/bootique/job/value/Cron.java
// public class Cron {
// 
// 	private String expression;
// 
// 	public Cron(String expression) {
// 		this.expression = expression;
// 	}
// 
// 	@JsonValue
// 	public String getExpression() {
// 		return expression;
// 	}
// 
// 	@Override
// 	public boolean equals(Object o) {
// 		if (this == o) return true;
// 		if (o == null || getClass() != o.getClass()) return false;
// 		Cron cron = (Cron) o;
// 		return Objects.equals(expression, cron.expression);
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		if (expression == null) {
// 			return 0;
// 		}
// 
// 		return Objects.hash(expression);
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return "Cron {" +
// 				"expression='" + expression + '\'' +
// 				'}';
// 	}
// }


// Path: bootique-job/src/main/java/io/bootique/job/scheduler/TriggerDescriptor.java
import io.bootique.annotation.BQConfig;
import io.bootique.annotation.BQConfigProperty;
import io.bootique.job.value.Cron;
import io.bootique.value.Duration;
import java.util.Collections;
import java.util.Map;
import java.util.UUID;

/*
 * Licensed to ObjectStyle LLC under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ObjectStyle LLC licenses
 * this file to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package io.bootique.job.scheduler;



@BQConfig("Trigger of one of the following flavors: cron, periodic, fixed-rate.")
public class TriggerDescriptor {

    private String job;