X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;fp=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FEntry.java;h=d16e6be2c67e69aad205d23dc55219122aec2a38;hb=ed3c99a566139d0022f78e85d61a63a3876e1725;hp=65f21104999c193a0291510dda4d1f3502309eda;hpb=2518cd10be541f7a5354adc0f6c6c1334b7b5691;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/project/Entry.java b/src/net/pterodactylus/jsite/project/Entry.java index 65f2110..d16e6be 100644 --- a/src/net/pterodactylus/jsite/project/Entry.java +++ b/src/net/pterodactylus/jsite/project/Entry.java @@ -46,6 +46,23 @@ public interface Entry { public void setName(String name); /** + * Returns whether this file should be inserted. + * + * @return true to insert the file, false to + * skip it + */ + public boolean isInsert(); + + /** + * Sets whether this file should be inserted. + * + * @param insert + * true to insert the file, false + * to skip it + */ + public void setInsert(boolean insert); + + /** * Returns the content type of the file. If the content type is * null, the node will auto-detect the content type based on * the filename. The content type is given as a MIME type.