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

com.enonic.xp.task.TaskProgressJson Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.task;

import java.util.Objects;

@Deprecated
public class TaskProgressJson
{
    private final TaskProgress taskProgress;

    public TaskProgressJson( final TaskProgress taskProgress )
    {
        this.taskProgress = Objects.requireNonNull( taskProgress );
    }

    public int getCurrent()
    {
        return taskProgress.getCurrent();
    }

    public int getTotal()
    {
        return taskProgress.getTotal();
    }

    public String getInfo()
    {
        return taskProgress.getInfo();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy