Top Description Fields Constructors Methods
org.eclipse.jgit.treewalk

public Class WorkingTreeOptions

extends Object
Class Inheritance
Imports
org.eclipse.jgit.lib.Config, .Config.SectionParser, .ConfigConstants, .CoreConfig.AutoCRLF, .CoreConfig.CheckStat, .CoreConfig.EOL, .CoreConfig.HideDotFiles, .CoreConfig.SymLinks

Options used by the org.eclipse.jgit.treewalk.WorkingTreeIterator.

Field Summary

Modifier and TypeField and Description
private final CoreConfig.AutoCRLF
private final CoreConfig.CheckStat
private final boolean
private final CoreConfig.EOL
private final boolean
private final CoreConfig.HideDotFiles
public static final Config.SectionParser<WorkingTreeOptions>
private final CoreConfig.SymLinks

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public CoreConfig.AutoCRLF

Returns:

how automatic CRLF conversion has been configured.
getAutoCRLF
()

Get automatic CRLF conversion configuration.

public CoreConfig.CheckStat

Returns:

how stat data is compared.
getCheckStat
()

Get how stat data is compared.

public CoreConfig.EOL

Returns:

how text line endings should be normalized.
getEOL
()

Get how text line endings should be normalized.

public CoreConfig.HideDotFiles

Returns:

how we create '.'-files (on Windows)
getHideDotFiles
()

Get how we create '.'-files (on Windows)

public boolean

Returns:

true if the execute bit on working files should be trusted.
isFileMode
()

Whether the execute bit on working files should be trusted.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

autoCRLFback to summary
private final CoreConfig.AutoCRLF autoCRLF
checkStatback to summary
private final CoreConfig.CheckStat checkStat
eolback to summary
private final CoreConfig.EOL eol
fileModeback to summary
private final boolean fileMode
hideDotFilesback to summary
private final CoreConfig.HideDotFiles hideDotFiles
KEYback to summary
public static final Config.SectionParser<WorkingTreeOptions> KEY

Key for Config#get(SectionParser).

Constructor Detail

WorkingTreeOptionsback to summary
private WorkingTreeOptions(Config rc)

Method Detail

getAutoCRLFback to summary
public CoreConfig.AutoCRLF getAutoCRLF()

Get automatic CRLF conversion configuration.

Returns:CoreConfig.AutoCRLF

how automatic CRLF conversion has been configured.

getCheckStatback to summary
public CoreConfig.CheckStat getCheckStat()

Get how stat data is compared.

Returns:CoreConfig.CheckStat

how stat data is compared.

Since
3.0
getEOLback to summary
public CoreConfig.EOL getEOL()

Get how text line endings should be normalized.

Returns:CoreConfig.EOL

how text line endings should be normalized.

Since
4.3
getHideDotFilesback to summary
public CoreConfig.HideDotFiles getHideDotFiles()

Get how we create '.'-files (on Windows)

Returns:CoreConfig.HideDotFiles

how we create '.'-files (on Windows)

Since
3.5
isFileModeback to summary
public boolean isFileMode()

Whether the execute bit on working files should be trusted.

Returns:boolean

true if the execute bit on working files should be trusted.