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

io.github.md2conf.model.ConfluenceContentModel Maven / Gradle / Ivy

The newest version!
package io.github.md2conf.model;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

@Setter
@Getter
public class ConfluenceContentModel {

    private List pages = new ArrayList<>();

    public ConfluenceContentModel() {
    }

    public ConfluenceContentModel(List pages) {
        this.pages = pages;
    }

    public ConfluenceContentModel(ConfluencePage...pages){
        this.pages = Arrays.stream(pages).collect(Collectors.toList());
    }

    public enum Type {
        STORAGE, WIKI, VIEW
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy