All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.ejb.cache.timer.ImmutableScheduleExpressionBuilder Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.ejb.cache.timer;

import java.time.Instant;
import java.time.ZoneId;
import java.util.function.Supplier;

import org.wildfly.clustering.ejb.timer.ImmutableScheduleExpression;

/**
 * @author Paul Ferraro
 */
public interface ImmutableScheduleExpressionBuilder extends Supplier {

    ImmutableScheduleExpressionBuilder second(String second);

    ImmutableScheduleExpressionBuilder minute(String minute);

    ImmutableScheduleExpressionBuilder hour(String hour);

    ImmutableScheduleExpressionBuilder dayOfMonth(String dayOfMonth);

    ImmutableScheduleExpressionBuilder month(String month);

    ImmutableScheduleExpressionBuilder dayOfWeek(String dayOfWeek);

    ImmutableScheduleExpressionBuilder year(String year);

    ImmutableScheduleExpressionBuilder zone(ZoneId zone);

    ImmutableScheduleExpressionBuilder start(Instant start);

    ImmutableScheduleExpressionBuilder end(Instant end);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy