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

apoc.result.KernelInfoResult Maven / Gradle / Ivy

package apoc.result;

import java.text.SimpleDateFormat;
import java.util.Date;

public class KernelInfoResult {

    public Boolean readOnly;

    public String kernelVersion;

    public String storeId;

    public String kernelStartTime;

    public String databaseName;

    public String storeLogVersion;

    public String storeCreationDate;

    public KernelInfoResult(
            Boolean readOnly,
            String kernelVersion,
            String storeId,
            Date kernelStartTime,
            String databaseName,
            String storeLogVersion,
            Date storeCreationDate) {

        SimpleDateFormat format = new SimpleDateFormat(apoc.date.DateUtils.DEFAULT_FORMAT);

        this.readOnly = readOnly;
        this.kernelVersion = kernelVersion;
        this.storeId = storeId;
        this.kernelStartTime = format.format(kernelStartTime);
        this.databaseName = databaseName;
        this.storeLogVersion = storeLogVersion;
        this.storeCreationDate = format.format(storeCreationDate);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy