001    package railo.runtime.dump;
002    
003    import java.util.Set;
004    
005    public class DumpProperties {
006            public static final int DEFAULT_MAX_LEVEL=9999;
007    
008            public final static DumpProperties DEFAULT = new DumpProperties(DumpProperties.DEFAULT_MAX_LEVEL,null,null,9999,true,true);
009            private final Set show;
010            private final Set hide;
011            private final int maxlevel;
012            private final int keys;
013            private final boolean metainfo;
014            private final boolean showUDFs;
015            
016            
017            
018            
019            public DumpProperties(int maxlevel, Set show, Set hide, int keys,boolean metainfo, boolean showUDFs) {
020                    this.show = show;
021                    this.hide = hide;
022                    this.maxlevel=maxlevel;
023                    this.keys=keys;
024                    this.metainfo=metainfo;
025                    this.showUDFs=showUDFs;
026            }
027            /**
028             * @return the metainfo
029             */
030            public boolean getMetainfo() {
031                    return metainfo;
032            }
033            /**
034             * @return the show
035             */
036            public Set getShow() {
037                    return show;
038            }
039            /**
040             * @return the hide
041             */
042            public Set getHide() {
043                    return hide;
044            }
045            public int getMaxlevel() {
046                    return maxlevel;
047            }
048            /**
049             * @return the keys
050             */
051            public int getMaxKeys() {
052                    return keys;
053            }
054            /**
055             * @return the showUDFs
056             */
057            public boolean getShowUDFs() {
058                    return showUDFs;
059            }
060    }