Package microsoft.build.utilities
Class FlatTrackingData
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.FlatTrackingData
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class FlatTrackingData extends NetObject
The base .NET class managing Microsoft.Build.Utilities.FlatTrackingData, Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Utilities.FlatTrackingData
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Utilities.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Utilities.FlatTrackingDatastatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FlatTrackingData()
FlatTrackingData(java.lang.Object instance)
Internal constructor.FlatTrackingData(ITaskItem[] tlogFiles, boolean skipMissingFiles)
FlatTrackingData(ITaskItem[] tlogFiles, ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc)
FlatTrackingData(ITaskItem[] tlogFiles, DateTime missingFileTimeUtc)
FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, boolean skipMissingFiles)
FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, DateTime missingFileTimeUtc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlatTrackingData
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoFlatTrackingData
, a cast assert is made to check if types are compatible.boolean
FileIsExcludedFromDependencyCheck(java.lang.String fileName)
static void
FinalizeTLogs(boolean trackedOperationsSucceeded, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames, ITaskItem[] trackedFilesToRemoveFromTLogs)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeDateTime
GetLastWriteTimeUtc(java.lang.String file)
java.lang.String
getNewestFileName()
DateTime
getNewestFileTime()
DateTime
getNewestFileTimeUtc()
java.lang.String
getNewestTLogFileName()
DateTime
getNewestTLogTime()
DateTime
getNewestTLogTimeUtc()
java.lang.String
getOldestFileName()
DateTime
getOldestFileTime()
DateTime
getOldestFileTimeUtc()
boolean
getSkipMissingFiles()
ITaskItem[]
getTlogFiles()
boolean
getTlogsAvailable()
boolean
getTreatRootMarkersAsEntries()
static boolean
IsUpToDate(TaskLoggingHelper Log, UpToDateCheckType upToDateCheckType, FlatTrackingData inputs, FlatTrackingData outputs)
static boolean
IsUpToDate(Task hostTask, UpToDateCheckType upToDateCheckType, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames)
void
SaveTlog()
void
SaveTlog(DependencyFilter includeInTLog)
void
setJCOInstance(JCObject instance)
void
setNewestFileName(java.lang.String NewestFileName)
void
setNewestFileTime(DateTime NewestFileTime)
void
setNewestFileTimeUtc(DateTime NewestFileTimeUtc)
void
setNewestTLogFileName(java.lang.String NewestTLogFileName)
void
setNewestTLogTime(DateTime NewestTLogTime)
void
setNewestTLogTimeUtc(DateTime NewestTLogTimeUtc)
void
setOldestFileName(java.lang.String OldestFileName)
void
setOldestFileTime(DateTime OldestFileTime)
void
setOldestFileTimeUtc(DateTime OldestFileTimeUtc)
void
setSkipMissingFiles(boolean SkipMissingFiles)
void
setTlogFiles(ITaskItem[] TlogFiles)
void
setTlogsAvailable(boolean TlogsAvailable)
void
setTreatRootMarkersAsEntries(boolean TreatRootMarkersAsEntries)
void
UpdateFileEntryDetails()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Utilities.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Utilities.FlatTrackingData- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlatTrackingData
public FlatTrackingData(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
FlatTrackingData
public FlatTrackingData() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FlatTrackingData
public FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, boolean skipMissingFiles) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
PathTooLongException
NotSupportedException
InvalidOperationException
NullReferenceException
OutOfMemoryException
InvalidTimeZoneException
OverflowException
RankException
KeyNotFoundException
IOException
-
FlatTrackingData
public FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
PathTooLongException
NotSupportedException
InvalidOperationException
NullReferenceException
OutOfMemoryException
InvalidTimeZoneException
OverflowException
RankException
KeyNotFoundException
IOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, boolean skipMissingFiles) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
PathTooLongException
NotSupportedException
InvalidOperationException
NullReferenceException
OutOfMemoryException
InvalidTimeZoneException
OverflowException
RankException
KeyNotFoundException
IOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
PathTooLongException
NotSupportedException
InvalidOperationException
NullReferenceException
OutOfMemoryException
InvalidTimeZoneException
OverflowException
RankException
KeyNotFoundException
IOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
PathTooLongException
NotSupportedException
InvalidOperationException
NullReferenceException
OutOfMemoryException
InvalidTimeZoneException
OverflowException
RankException
KeyNotFoundException
IOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static FlatTrackingData cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoFlatTrackingData
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
FlatTrackingData
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
FileIsExcludedFromDependencyCheck
public boolean FileIsExcludedFromDependencyCheck(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
IsUpToDate
public static boolean IsUpToDate(Task hostTask, UpToDateCheckType upToDateCheckType, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, OutOfMemoryException, InvalidOperationException, OverflowException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
OutOfMemoryException
InvalidOperationException
OverflowException
KeyNotFoundException
-
IsUpToDate
public static boolean IsUpToDate(TaskLoggingHelper Log, UpToDateCheckType upToDateCheckType, FlatTrackingData inputs, FlatTrackingData outputs) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, OverflowException, MissingManifestResourceException
-
GetLastWriteTimeUtc
public DateTime GetLastWriteTimeUtc(java.lang.String file) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
FinalizeTLogs
public static void FinalizeTLogs(boolean trackedOperationsSucceeded, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames, ITaskItem[] trackedFilesToRemoveFromTLogs) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, OutOfMemoryException, InvalidOperationException, OverflowException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
OutOfMemoryException
InvalidOperationException
OverflowException
KeyNotFoundException
-
SaveTlog
public void SaveTlog() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, IndexOutOfRangeException, PathTooLongException, CultureNotFoundException, NotSupportedException, RankException, InvalidOperationException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
OutOfMemoryException
IndexOutOfRangeException
PathTooLongException
CultureNotFoundException
NotSupportedException
RankException
InvalidOperationException
NullReferenceException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
SecurityException
FormatException
-
SaveTlog
public void SaveTlog(DependencyFilter includeInTLog) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, PathTooLongException, CultureNotFoundException, NotSupportedException, RankException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
OutOfMemoryException
PathTooLongException
CultureNotFoundException
NotSupportedException
RankException
NullReferenceException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
SecurityException
-
UpdateFileEntryDetails
public void UpdateFileEntryDetails() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, InvalidTimeZoneException, NotSupportedException, OverflowException
-
getSkipMissingFiles
public boolean getSkipMissingFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSkipMissingFiles
public void setSkipMissingFiles(boolean SkipMissingFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTlogsAvailable
public boolean getTlogsAvailable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTlogsAvailable
public void setTlogsAvailable(boolean TlogsAvailable) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTreatRootMarkersAsEntries
public boolean getTreatRootMarkersAsEntries() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTreatRootMarkersAsEntries
public void setTreatRootMarkersAsEntries(boolean TreatRootMarkersAsEntries) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTlogFiles
public final ITaskItem[] getTlogFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTlogFiles
public void setTlogFiles(ITaskItem[] TlogFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNewestFileTime
public DateTime getNewestFileTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidTimeZoneException
NotSupportedException
-
setNewestFileTime
public void setNewestFileTime(DateTime NewestFileTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestFileTimeUtc
public DateTime getNewestFileTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestFileTimeUtc
public void setNewestFileTimeUtc(DateTime NewestFileTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestTLogTime
public DateTime getNewestTLogTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidTimeZoneException
NotSupportedException
-
setNewestTLogTime
public void setNewestTLogTime(DateTime NewestTLogTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestTLogTimeUtc
public DateTime getNewestTLogTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestTLogTimeUtc
public void setNewestTLogTimeUtc(DateTime NewestTLogTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getOldestFileTime
public DateTime getOldestFileTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidTimeZoneException
NotSupportedException
-
setOldestFileTime
public void setOldestFileTime(DateTime OldestFileTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getOldestFileTimeUtc
public DateTime getOldestFileTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOldestFileTimeUtc
public void setOldestFileTimeUtc(DateTime OldestFileTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestFileName
public java.lang.String getNewestFileName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestFileName
public void setNewestFileName(java.lang.String NewestFileName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNewestTLogFileName
public java.lang.String getNewestTLogFileName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestTLogFileName
public void setNewestTLogFileName(java.lang.String NewestTLogFileName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOldestFileName
public java.lang.String getOldestFileName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOldestFileName
public void setOldestFileName(java.lang.String OldestFileName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-