Package org.apache.shenyu.common.config
Class ShenyuConfig.FileConfig
- java.lang.Object
-
- org.apache.shenyu.common.config.ShenyuConfig.FileConfig
-
- Enclosing class:
- ShenyuConfig
public static class ShenyuConfig.FileConfig extends java.lang.ObjectThe type File config.
-
-
Constructor Summary
Constructors Constructor Description FileConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetEnabled()Gets enabled.java.lang.IntegergetMaxSize()Gets file max size.voidsetEnabled(boolean enabled)Sets enabled.voidsetMaxSize(java.lang.Integer maxSize)Sets file max size.
-
-
-
Method Detail
-
getEnabled
public boolean getEnabled()
Gets enabled.- Returns:
- the enabled
-
setEnabled
public void setEnabled(boolean enabled)
Sets enabled.- Parameters:
enabled- the enabled
-
getMaxSize
public java.lang.Integer getMaxSize()
Gets file max size.- Returns:
- the file max size
-
setMaxSize
public void setMaxSize(java.lang.Integer maxSize)
Sets file max size.- Parameters:
maxSize- the file max size
-
-