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

net.fortuna.ical4j.extensions.strategy.action.Milestone Maven / Gradle / Ivy

The newest version!
package net.fortuna.ical4j.extensions.strategy.action;

import net.fortuna.ical4j.extensions.strategy.AbstractStrategy;
import net.fortuna.ical4j.model.component.VToDo;

import java.util.ArrayList;
import java.util.List;

/**
 * This class represents a project milestone, which may consist of one or more child tasks.
 */
public class Milestone extends AbstractStrategy {

    private final List tasks = new ArrayList<>();

    @Override
    public VToDo get() {
        VToDo vToDo = getPrototype().isPresent() ? getPrototype().get().copy() : new VToDo();
        return vToDo;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy